rx-datatable API
    Preparing search index...

    Interface ISetSource<K>

    Read-only set interface (subinterface of IMapSource<K,any>). The word "set" usually means that each item in the collection is unique (appears only once, based on a definition of equality used by the collection.) Objects conforming to this interface aren't guaranteed not to contain duplicates, but as an example, BTree<K,V> implements this interface and does not allow duplicates.

    interface ISetSource<K = any> {
        size: number;
        has(key: K): boolean;
        keys(): IterableIterator<K>;
    }

    Type Parameters

    • K = any

    Hierarchy (View Summary)

    Index
    size: number

    Returns the number of key/value pairs in the map object.

    • Returns a boolean asserting whether the key exists in the map object or not.

      Parameters

      • key: K

      Returns boolean

    • Returns a new iterator for iterating the items in the set (the order is implementation-dependent).

      Returns IterableIterator<K>