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

    Function foldRWithKey

    • Folds the Map into an accumulated X with folding computation from the last entry.

      Type Parameters

      • K
      • V
      • X

      Parameters

      • folder: (key: K) => (item: V) => (acc: X) => X

        Function to fold an item and accumulated value. Also the key will be passed to.

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

      Accumulated result.