Download node_modules/math-intrinsics/isFinite.js from Neilqwe/eu4: direct link, hf CLI and curl.
- Browser
- Download file 262 Bytes
-
https://huggingface.co/spaces/Neilqwe/eu4/resolve/main/node_modules/math-intrinsics/isFinite.js
- Command line
-
hf download hf://spaces/Neilqwe/eu4/node_modules/math-intrinsics/isFinite.js
-
curl -L -o isFinite.js https://huggingface.co/spaces/Neilqwe/eu4/resolve/main/node_modules/math-intrinsics/isFinite.js
262 Bytes
| ; | |
| var $isNaN = require('./isNaN'); | |
| /** @type {import('./isFinite')} */ | |
| module.exports = function isFinite(x) { | |
| return (typeof x === 'number' || typeof x === 'bigint') | |
| && !$isNaN(x) | |
| && x !== Infinity | |
| && x !== -Infinity; | |
| }; | |