Skip to content

IReadOnlyObservableSet.isSupersetOf

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions
API / IReadOnlyObservableSet<TItem> / isSupersetOf method

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

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

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

Parameters

Returns: boolean

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

See also

Clone this wiki locally