is-function.js 213 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 "use strict"; var objToString = Object.prototype.toString, id = objToString.call(require("./noop")); module.exports = function (value) { return typeof value === "function" && objToString.call(value) === id; };