first commit

This commit is contained in:
francesco448
2026-03-14 14:59:41 +01:00
commit 0a448b1250
603 changed files with 65311 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
'use strict';
var $isNaN = require('math-intrinsics/isNaN');
/** @type {import('math-intrinsics/isFinite')} */
module.exports = function isFinite(x) {
return (typeof x === 'number' || typeof x === 'bigint')
&& !$isNaN(x)
&& x !== Infinity
&& x !== -Infinity;
};