rx-datatable API
    Preparing search index...

    Class WatchableSet<K>

    A Set that implements Watchable, notifying subscribers after add/delete/clear.

    Type Parameters

    • K

    Hierarchy

    • Set<K>
      • WatchableSet

    Implements

    Index
    • Type Parameters

      • K

      Parameters

      • Optionalvalues: readonly K[] | null

      Returns WatchableSet<K>

    • Type Parameters

      • K

      Parameters

      • Optionaliterable: Iterable<K, any, any> | null

      Returns WatchableSet<K>

    "[species]": SetConstructor
    "[toStringTag]": string
    size: number

    the number of (unique) elements in Set.

    • Iterates over values in the set.

      Returns SetIterator<K>

    • Removes a specified value from the Set.

      Parameters

      • key: K

      Returns boolean

      Returns true if an element in the Set existed and has been removed, or false if the element does not exist.

    • Type Parameters

      • U

      Parameters

      • other: ReadonlySetLike<U>

      Returns Set<K>

      a new Set containing all the elements in this Set which are not also in the argument.

    • Returns an iterable of [v,v] pairs for every value v in the set.

      Returns SetIterator<[K, K]>

    • Executes a provided function once per each value in the Set object, in insertion order.

      Parameters

      • callbackfn: (value: K, value2: K, set: Set<K>) => void
      • OptionalthisArg: any

      Returns void

    • Parameters

      • value: K

      Returns boolean

      a boolean indicating whether an element with the specified value exists in the Set or not.

    • Type Parameters

      • U

      Parameters

      • other: ReadonlySetLike<U>

      Returns Set<K & U>

      a new Set containing all the elements which are both in this Set and in the argument.

    • Parameters

      • other: ReadonlySetLike<unknown>

      Returns boolean

      a boolean indicating whether this Set has no elements in common with the argument.

    • Parameters

      • other: ReadonlySetLike<unknown>

      Returns boolean

      a boolean indicating whether all the elements in this Set are also in the argument.

    • Parameters

      • other: ReadonlySetLike<unknown>

      Returns boolean

      a boolean indicating whether all the elements in the argument are also in this Set.

    • Despite its name, returns an iterable of the values in the set.

      Returns SetIterator<K>

    • Registers a mutation listener and returns a function that unregisters it.

      Parameters

      • onChange: () => void

      Returns () => void

    • Type Parameters

      • U

      Parameters

      • other: ReadonlySetLike<U>

      Returns Set<K | U>

      a new Set containing all the elements which are in either this Set or in the argument, but not in both.

    • Type Parameters

      • U

      Parameters

      • other: ReadonlySetLike<U>

      Returns Set<K | U>

      a new Set containing all the elements in this Set and also all the elements in the argument.

    • Returns an iterable of values in the set.

      Returns SetIterator<K>