Creates a function that invokes func
with the this
binding of thisArg
and partials
prepended to the arguments it receives.
The bind.placeholder
value, which defaults to a symbol
, may be used as a placeholder for partially applied arguments.
Note: Unlike native Function#bind
, this method doesn't set the length
property of bound functions.
The function to bind.
Optional
thisObj: unknownThe this
binding of func
.
Rest
...partialArgs: any[]The arguments to be partially applied.
Alias