Spaces:
Runtime error
Runtime error
Download static/node_modules/mongoose/lib/helpers/isObject.js from kaab4321/NarrativeFlow: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/helpers/isObject.js
- Command line
-
hf download hf://spaces/kaab4321/NarrativeFlow/static/node_modules/mongoose/lib/helpers/isObject.js
-
curl -L -o isObject.js https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/helpers/isObject.js
299 Bytes
| ; | |
| /** | |
| * Determines if `arg` is an object. | |
| * | |
| * @param {Object|Array|String|Function|RegExp|any} arg | |
| * @api private | |
| * @return {Boolean} | |
| */ | |
| module.exports = function(arg) { | |
| return ( | |
| Buffer.isBuffer(arg) || | |
| Object.prototype.toString.call(arg) === '[object Object]' | |
| ); | |
| }; | |