The isFunction() method determines whether the tested object is Function.
var testedObject = new function(){}; var isFunction = Mint.utils.isFunction(testedObject);
true if the tested object is Function; otherwise, false.
function test(){ }; Mint.utils.isFunction(test); // true Mint.utils.isFunction("a"); // false Mint.utils.isFunction(null); // false Mint.utils.isFunction([1, 2, 3]); // false
There was an error while loading. Please reload this page.
Home
Setup & Dependencies
Browsers support
Tests
Mint.utils functions
LICENSE