Skip to content

ReadOnlyObservableSet.isSupersetOf

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

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

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

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

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