isFunction
1.6

isFunction(obj) -> Boolean

Returns true if obj is of type function, false otherwise.

Examples


Object.isFunction($);
//-> true

Object.isFunction(123);
//-> false