Spaces:
Runtime error
Runtime error
Download static/node_modules/mongoose/lib/helpers/projection/isNestedProjection.js from kaab4321/NarrativeFlow: direct link, hf CLI and curl.
- Browser
- Download file 233 Bytes
-
https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/helpers/projection/isNestedProjection.js
- Command line
-
hf download hf://spaces/kaab4321/NarrativeFlow/static/node_modules/mongoose/lib/helpers/projection/isNestedProjection.js
-
curl -L -o isNestedProjection.js https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/helpers/projection/isNestedProjection.js
233 Bytes
| ; | |
| module.exports = function isNestedProjection(val) { | |
| if (val == null || typeof val !== 'object') { | |
| return false; | |
| } | |
| return val.$slice == null && val.$elemMatch == null && val.$meta == null && val.$ == null; | |
| }; | |