Skip to content

ReadOnlyObservableSet.isSubsetOf

github-actions[bot] edited this page Dec 3, 2024 · 3 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, any, any> | ISetLike<TItem> | Set<TItem>
): boolean

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

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