• Reduces the elements of array by reducer from right-side.

    Type Parameters

    • A

    • B

    Parameters

    • reducer: ((a) => ((b) => B))

      The reducer called with A and B.

        • (a): ((b) => B)
        • Parameters

          • a: A

          Returns ((b) => B)

            • (b): B
            • Parameters

              • b: B

              Returns B

    Returns ((fa) => ((b) => B))

    The folded value.

      • (fa): ((b) => B)
      • Parameters

        • fa: readonly A[]

        Returns ((b) => B)

          • (b): B
          • Parameters

            • b: B

            Returns B

Generated using TypeDoc