fjs.isFunction

fjs.isFunction

fjs.isFunction returns true if the argument is a function, otherwise false.

Usage

fjs.isFunction(arg);

Example

fjs.isFunction(fjs.reduce(function (arg1, arg2) {
return arg1 * arg2;
})); // => true