Skip to content

IReadOnlyObservableSet.isSubsetOf

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

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

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

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

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