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