mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-22 06:38:12 +02:00
fix: Rename use-auth.js to use-auth.jsx for JSX support
This commit is contained in:
2875 files changed
+459559
-2
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user