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

    Function adjustWithKey

    • Modifies value of entry with the key, or does nothing if there isn't.

      Type Parameters

      • K
      • V

      Parameters

      • mapper: (key: K) => (oldValue: V) => V

        Function to map the value. Also the key will be passed to.

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

      A new Map with the replaced entry, or as is if there isn't.