NDNts

    Class KeyMap<K, V, I, L>

    Map that transforms keys.

    Type Parameters

    • K

      Input key type.

    • V

      Value type.

    • I

      Indexable key type.

    • L = K

      Lookup key type.

    Implements

    • Iterable<[key: K, value: V]>
    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Constructor.

      Type Parameters

      • K

        Input key type.

      • V

        Value type.

      • I

        Indexable key type.

      • L = K

        Lookup key type.

      Parameters

      • keyOf: (key: K | L) => I

        Function to transform input key to indexable key.

      Returns KeyMap<K, V, I, L>

    Accessors

    Methods

    • Returns IterableIterator<[key: K, value: V]>

    MMNEPVFCICPMFPCPTTAAATR