rx-datatable API
    Preparing search index...

    Interface IMapSink<K, V>

    Write-only map interface (i.e. a drain into which key-value pairs can be "sunk")

    interface IMapSink<K = any, V = any> {
        clear(): void;
        delete(key: K): boolean;
        set(key: K, value: V): any;
    }

    Type Parameters

    • K = any
    • V = any

    Hierarchy (View Summary)

    Index
    • Removes all key/value pairs from the IMap object.

      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

    • Sets the value for the key in the map object (the return value is boolean in BTree but Map returns the Map itself.)

      Parameters

      • key: K
      • value: V

      Returns any