Function compose

  • Creates a function composition from a given set of functions that will be each applied on the result of the previous one from right to left.

    Returns

    A new function that applies each given function on the result of the previous step.

    Parameters

    • Optional Rest ...args: any[]

      The set of functions to apply.

    Returns ((x: any) => any)

      • (x: any): any
      • Parameters

        • x: any

        Returns any

Generated using TypeDoc