Sign in
apache
/
camel-website
/
62a7fc553044b4703dc33aae4683dca1f68af9d5
/
.
/
antora-ui-camel
/
.yarn
/
unplugged
/
es5-ext-npm-0.10.64-c30cdc3d60
/
node_modules
/
es5-ext
/
number
/
is-safe-integer
/
shim.js
blob: fb4f4d55a9f22c419c75ea9e0ea249ae609dc4e3 [
file
] [
log
] [
blame
]
"use strict"
;
var
isInteger
=
require
(
"../is-integer/shim"
)
,
maxValue
=
require
(
"../max-safe-integer"
)
,
abs
=
Math
.
abs
;
module
.
exports
=
function
(
value
)
{
if
(!
isInteger
(
value
))
return
false
;
return
abs
(
value
)
<=
maxValue
;
};