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

    Function mapWithKey

    • Transforms values in the Map by mapper.

      Type Parameters

      • K
      • A
      • B

      Parameters

      • mapper: (key: K) => (a: A) => B

        Function to transform values. Also the key will be passed to.

      Returns (ma: Map<K, A>) => Map<K, B>

      A new Map with mapped values.