@mikuroxina/mini-fn
    Preparing search index...

    Function insert

    • Inserts a new entry with the key and value to the Map object immutably. If there is already an entry with the key, it will be overwritten.

      Type Parameters

      • K

      Parameters

      • key: K

        Key to relate insertion.

      Returns <V>(value: V) => (m: Map<K, V>) => Map<K, V>

      A new one with the inserted entry.