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

    Function mapKeysWith

    • Transforms the Map with replacing keys. If there duplicate keys on replaced, combiner will be called to merge their value.

      Type Parameters

      • V

      Parameters

      • combiner: (newValue: V) => (oldValue: V) => V

        Function to merge values with duplicate keys.

      Returns <K1, K2>(mapper: (key: K1) => K2) => (m: Map<K1, V>) => Map<K2, V>

      A new Map with new keys.