• Folds the elements of list from right. The first value is used as an initial value. If list is null, it throws an error.

    Type Parameters

    • T

    Parameters

    • f: ((a) => ((b) => T))

      The fold operation.

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

          • a: T

          Returns ((b) => T)

            • (b): T
            • Parameters

              • b: T

              Returns T

    Returns ((list) => T)

    The folded value.

      • (list): T
      • Parameters

        Returns T

Generated using TypeDoc