Sha256: 66c3679a3ae38a4ca1389441bc8315d62965334678fad1bd9a4d14b4cc14335e
Contents?: true
Size: 281 Bytes
Versions: 25
Compression:
Stored size: 281 Bytes
Contents
var isObject = require('../internals/is-object'); var floor = Math.floor; // `Number.isInteger` method implementation // https://tc39.github.io/ecma262/#sec-number.isinteger module.exports = function isInteger(it) { return !isObject(it) && isFinite(it) && floor(it) === it; };
Version data entries
25 entries across 25 versions & 7 rubygems