isFunction.js 110 Bytes Raw Blame History Permalink 1 2 3 module.exports = function isFunction(fn) { return Object.prototype.toString.call(fn) == '[object Function]' }