Skip to content

ReadOnlyObservableSet.difference

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

Generates a set that contains all items in the current one, but not in the provided collection.

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

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

Parameters

Returns: Set<TItem>

Returns a new set containing all items in the current one, but not in the provided collection.

See also

Clone this wiki locally