Download datalab/web/node_modules/moment/src/lib/utils/some.js from arshjaved/indiaai-hackathon: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/arshjaved/indiaai-hackathon/resolve/main/datalab/web/node_modules/moment/src/lib/utils/some.js
- Command line
-
hf download hf://arshjaved/indiaai-hackathon/datalab/web/node_modules/moment/src/lib/utils/some.js
-
curl -L -o some.js https://huggingface.co/arshjaved/indiaai-hackathon/resolve/main/datalab/web/node_modules/moment/src/lib/utils/some.js
383 Bytes
| var some; | |
| if (Array.prototype.some) { | |
| some = Array.prototype.some; | |
| } else { | |
| some = function (fun) { | |
| var t = Object(this); | |
| var len = t.length >>> 0; | |
| for (var i = 0; i < len; i++) { | |
| if (i in t && fun.call(this, t[i], i, t)) { | |
| return true; | |
| } | |
| } | |
| return false; | |
| }; | |
| } | |
| export { some as default }; | |