Module: isFunction

Methods

(inner) isFunction(val) → {boolean}

Returns true if the argument is a Function
Parameters:
Name Type Description
val function
Source:
Returns:
Type
boolean
Example
let val = (x) => x + 2
isFunction(val) // true