is-function.js 149 Bytes edit raw blame history 1 2 3 export default function isFunction(input) { return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; }