• Fold the success data contained by Result from right side.

    Type Parameters

    • X

    • A

    • B

    Parameters

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

      The folder to fold the data in Result.

        • (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