The value to wrap.
The wrapper function.
Rest
...args: TArgs[]Returns the new function.
Creates a function that provides value to the wrapper function as its first argument. Any additional arguments provided to the function are appended to those provided to the wrapper function. The wrapper is invoked with the this binding of the created function.
Rest
...args: TArgs[]Returns the new function.
Generated using TypeDoc
Creates a function that provides value to the wrapper function as its first argument. Any additional arguments provided to the function are appended to those provided to the wrapper function. The wrapper is invoked with the this binding of the created function.