Skip to content

ReadOnlyObservableSet.isSubsetOf

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

Clone this wiki locally