Spaces:
Runtime error
Runtime error
Download static/node_modules/mongoose/lib/helpers/isAsyncFunction.js from kaab4321/NarrativeFlow: direct link, hf CLI and curl.
- Browser
- Download file 176 Bytes
-
https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/helpers/isAsyncFunction.js
- Command line
-
hf download hf://spaces/kaab4321/NarrativeFlow/static/node_modules/mongoose/lib/helpers/isAsyncFunction.js
-
curl -L -o isAsyncFunction.js https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/helpers/isAsyncFunction.js
176 Bytes
| ; | |
| module.exports = function isAsyncFunction(v) { | |
| return ( | |
| typeof v === 'function' && | |
| v.constructor && | |
| v.constructor.name === 'AsyncFunction' | |
| ); | |
| }; | |