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

API / ReadOnlyObservableSet<TItem> / isSubsetOf method

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

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

Source reference: src/collections/observableSet/ReadOnlyObservableSet.ts:117.

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** ⚠️