Skip to content

ReadOnlyObservableSet.intersection

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions
API / ReadOnlyObservableSet<TItem> / intersection method

Generates a set that contains the items contained by both the current and provided collection.

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

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

Parameters

Returns: Set<TItem>

Returns a set that contains the items contained by both the current and provided collection.

See also

Clone this wiki locally