• Folds the tuple having two As with folder from right.

    Type Parameters

    • A

    • B

    Parameters

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

      The function fold the data stored in a tuple.

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

          • a: A

          Returns ((b) => B)

            • (b): B
            • Parameters

              • b: B

              Returns B

    Returns ((init) => ((data) => B))

    The folded value.

      • (init): ((data) => B)
      • Parameters

        • init: B

        Returns ((data) => B)

          • (data): B
          • Parameters

            Returns B

Generated using TypeDoc