function whose call
method we want to invoke
value to use for the thisArg
parameter for callableFunction.call()
Rest
...args: Parameters<TFunction>arguments to pass to the args
parameter for callableFunction.call()
the result of callableFunction.call(thisArg, ...args)
Functional, type-safe version of Function.prototype.call.