rx-datatable API
    Preparing search index...

    Interface ISetSink<K>

    Write-only set interface (the set cannot be queried, but items can be added to it.) Note: BTree<K,V> does not officially implement this interface, but BTree can be used as an instance of ISetSink.

    interface ISetSink<K = any> {
        add(key: K): any;
        clear(): void;
        delete(key: K): boolean;
    }

    Type Parameters

    • K = any

    Hierarchy (View Summary)

    Index
    • Adds the specified item to the set, if it was not in the set already.

      Parameters

      • key: K

      Returns any

    • Removes everything so that the set is empty.

      Returns void

    • Returns true if an element in the map object existed and has been removed, or false if the element did not exist.

      Parameters

      • key: K

      Returns boolean