src code

class method Object.isFunction

Object.isFunction(object) → Boolean
  • object (Object) – The object to test.

Returns true if object is of type Function; false otherwise.

Examples
Object.isFunction($);
//-> true
 Object.isFunction(123);
//-> false