IReadOnlyObservableSet.has - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / IReadOnlyObservableSet<TItem> / has method
Checks whether the provided item is in the set.
has(
item: TItem
): boolean
Source reference: src/collections/observableSet/IReadOnlyObservableSet.ts:50
.
-
item: TItem
The item to search for.
Returns: boolean
Returns true
if the provided item is found in the set; otherwise false
.