Determines if the given value is a function.
vx.x.x
Whether the given value is a function.
// is a functionconst exampleFn = () => {}console.log( isFunction(exampleFn))=> true
// is not a functionconst example = 'example'console.log( isFunction(example))=> false
The value to check.
Determines if the given value is a function.
Since
vx.x.x
Returns
Whether the given value is a function.
Example
Example