Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/helpers/isAbstractClosure.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/helpers/isAbstractClosure.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/helpers/isAbstractClosure.js
-
curl -L -o isAbstractClosure.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/helpers/isAbstractClosure.js
244 Bytes
| ; | |
| var functionName = require('function.prototype.name'); | |
| var anon = functionName(function () {}); | |
| module.exports = function isAbstractClosure(x) { | |
| return typeof x === 'function' && (!x.prototype || functionName(x) === anon); | |
| }; | |