source:
imaps-frontend/node_modules/es-abstract/helpers/isFinite.js
Last change on this file was d565449, checked in by , 4 weeks ago | |
---|---|
|
|
File size: 192 bytes |
Rev | Line | |
---|---|---|
[d565449] | 1 | 'use strict'; |
2 | ||
3 | var $isNaN = require('./isNaN'); | |
4 | ||
5 | module.exports = function (x) { return (typeof x === 'number' || typeof x === 'bigint') && !$isNaN(x) && x !== Infinity && x !== -Infinity; }; |
Note:
See TracBrowser
for help on using the repository browser.