Function partial

  • Creates a function that invokes fn with partials prepended to the arguments it receives. Note: The given function will have this bound to undefined. If using this inside fn, consider bind instead.

    Returns

    Returns the new partially applied function

    Parameters

    • fn: any

      The function to bind.

    • Optional Rest ...args: any[]

      The arguments to apply to fn.

    Returns any

Generated using TypeDoc