Namespace: Basic:isFunction

Basic:isFunction

Source:

Methods

isFunction(value) → {Boolean}

Returns if a value is a function.

Parameters:
Name Type Description
value *

the value to check

Source:
Returns:
true if value is a function
Type
Boolean
Example
if( isFunction(val) ){
  val();
}