check if obj is a function.
obj
TODO: consider if it would be a good idea to include a generic parameter for the function's signature. i.e.: <FN extends Function = Function>(obj: any): obj is FN
<FN extends Function = Function>(obj: any): obj is FN
check if
obj
is a function.TODO: consider if it would be a good idea to include a generic parameter for the function's signature. i.e.:
<FN extends Function = Function>(obj: any): obj is FN