Function fold

  • Type Parameters

    • A

    • B

    Parameters

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

          • a: A
          • b: B

          Returns B

    • b: B

    Returns ((f) => B)

      • (f): B
      • Parameters

        Returns B

Generated using TypeDoc