Spaces:
Runtime error
Runtime error
Download masteringModule/node_modules/superagent/lib/is-function.js from SE-09/HapticsProject: direct link, hf CLI and curl.
- Browser
- Download file 308 Bytes
-
https://huggingface.co/spaces/SE-09/HapticsProject/resolve/refs%2Fpr%2F32/masteringModule/node_modules/superagent/lib/is-function.js
- Command line
-
hf download hf://spaces/SE-09/HapticsProject@refs/pr/32/masteringModule/node_modules/superagent/lib/is-function.js
-
curl -L -o is-function.js https://huggingface.co/spaces/SE-09/HapticsProject/resolve/refs%2Fpr%2F32/masteringModule/node_modules/superagent/lib/is-function.js
308 Bytes
| /** | |
| * 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; | |