IReadOnlyObservableSet.isSubsetOf - Andrei15193/react-model-view-viewmodel GitHub Wiki

API / IReadOnlyObservableSet<TItem> / isSubsetOf method

Checks whether all items from the current set are contained by the provided collection.

isSubsetOf(
  other: Iterable<TItem> | ISetLike<TItem> | Set<TItem>
): boolean

Source reference: src/collections/observableSet/IReadOnlyObservableSet.ts:66.

Parameters

Returns: boolean

Returns true if all items in the current set are found in the provided collection; otherwise false.

See also

⚠️ **GitHub.com Fallback** ⚠️