Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
devtools
/
node_modules
/
is-finite
/
index.js
blob: 806738750a507eaf87dd1c65cc9f12cc3399968b [
file
] [
log
] [
blame
]
'use strict'
;
var
numberIsNan
=
require
(
'number-is-nan'
);
module
.
exports
=
Number
.
isFinite
||
function
(
val
)
{
return
!(
typeof
val
!==
'number'
||
numberIsNan
(
val
)
||
val
===
Infinity
||
val
===
-
Infinity
);
};