Skip to content

ReadOnlyObservableSet.symmetricDifference

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

Generates a set that contains all items from both the current and provided collection, but are not contained by both.

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

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

Parameters

Returns: Set<TItem>

Returns a new set containing all items from both the current and provided collection, but not contained by both.

See also

Clone this wiki locally