Sign in
cobalt
/
cobalt
/
c52866be1febb1c09c04df4cb93d87f3595f4dc1
/
.
/
src
/
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
);
};