UNPKG

@happyvibess/node-cleaner

Version:

🧹 Interactive CLI tool to find and clean node_modules directories and free up space

7 lines (6 loc) • 210 B
export default function isFunction(input) { return ( (typeof Function !== 'undefined' && input instanceof Function) || Object.prototype.toString.call(input) === '[object Function]' ); }