Checks if a value is a Function
value
Call some unknown function
if(isFunction<void, [string]>(value)) { value("arg");}
true if value is a Function, otherwise false
true
false
the value to check
Generated using TypeDoc
Checks if a
valueis a FunctionExample
Call some unknown function
Returns
trueifvalueis a Function, otherwisefalse