is-function.js 152 Bytes Raw Blame History Permalink 1 2 3 export default function isFunction(input) { return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; }