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

API / ReadOnlyObservableSet<TItem> / isSupersetOf method

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

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

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

Parameters

Returns: boolean

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

See also

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