Skip to content

ReadOnlyObservableSet.isSupersetOf

github-actions[bot] edited this page Feb 4, 2025 · 4 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> | 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

Clone this wiki locally