Checks if value is a function.
value
The value to check.
Returns true if value is a function, else false.
true
false
isFunction(Array.prototype.slice); // trueisFunction(async function () {}); // trueisFunction(function* () {}); // trueisFunction(Proxy); // trueisFunction(Int8Array); // true Copy
isFunction(Array.prototype.slice); // trueisFunction(async function () {}); // trueisFunction(function* () {}); // trueisFunction(Proxy); // trueisFunction(Int8Array); // true
Alias