Skip to content

IReadOnlyObservableSet.union

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions

Generates a set that contains all items from both the current and the provided collection.

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

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

Parameters

Returns: Set<TItem>

Returns a new set containing all items from both the current and the provided collection.

See also

Clone this wiki locally