diff options
Diffstat (limited to 'node_modules/superagent/lib/is-function.js')
| -rw-r--r-- | node_modules/superagent/lib/is-function.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/superagent/lib/is-function.js b/node_modules/superagent/lib/is-function.js deleted file mode 100644 index 5fb118e..0000000 --- a/node_modules/superagent/lib/is-function.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Check if `fn` is a function. - * - * @param {Function} fn - * @return {Boolean} - * @api private - */ -var isObject = require('./is-object'); - -function isFunction(fn) { - var tag = isObject(fn) ? Object.prototype.toString.call(fn) : ''; - return tag === '[object Function]'; -} - -module.exports = isFunction; |
