KeyedContainer<K, V> Interface

    Package: @esfx/collection-core
    Declaration
    export interface KeyedContainer<K, V> extends ReadonlyKeyedContainer<K, V> 
    Inheritance
    ReadonlyKeyedContainer<K, V>
    KeyedContainer<K, V>
    Inherited Members
    [ReadonlyKeyedContainer.get](key)
    [ReadonlyKeyedContainer.has](key)

    Methods

    [KeyedContainer.delete](key)

    Deletes a key and its associated value from the container.

    Declaration
    [KeyedContainer.delete](key: K): boolean;
    Parameters
    key
    K

    Returns
    boolean

    true if the key was found and removed; otherwise, false.

    [KeyedContainer.set](key, value)

    Sets a value in the container for the provided key.

    Declaration
    [KeyedContainer.set](key: K, value: V): void;
    Parameters
    key
    K

    value
    V

    Returns
    void

    Generated by DocFX