• Folds the value in the right of These. The left value will be ignored and init will be used.

    Type Parameters

    • A

    • B

    Parameters

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

      The function to fold the contained value.

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

          • a: A

          Returns ((b) => B)

            • (b): B
            • Parameters

              • b: B

              Returns B

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

    The folded value.

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

        • init: B

        Returns (<X>(data) => B)

          • <X>(data): B
          • Type Parameters

            • X

            Parameters

            Returns B

Generated using TypeDoc