Sha256: a4c8c9dec446f92fbb0e93107a4eaed7b47dcb097e7a024050608e7dbb93f92b

Contents?: true

Size: 206 Bytes

Versions: 66

Compression:

Stored size: 206 Bytes

Contents

// 20.1.2.3 Number.isInteger(number)
var isObject = require('./_is-object');
var floor = Math.floor;
module.exports = function isInteger(it) {
  return !isObject(it) && isFinite(it) && floor(it) === it;
};

Version data entries

66 entries across 30 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.52 node_modules/core-js/library/modules/_is-integer.js
immosquare-cleaner-0.1.52 node_modules/core-js/modules/_is-integer.js
immosquare-cleaner-0.1.51 node_modules/core-js/modules/_is-integer.js
immosquare-cleaner-0.1.51 node_modules/core-js/library/modules/_is-integer.js
immosquare-cleaner-0.1.50 node_modules/core-js/library/modules/_is-integer.js
immosquare-cleaner-0.1.50 node_modules/core-js/modules/_is-integer.js
immosquare-cleaner-0.1.49 node_modules/core-js/library/modules/_is-integer.js
immosquare-cleaner-0.1.49 node_modules/core-js/modules/_is-integer.js
immosquare-cleaner-0.1.48 node_modules/core-js/library/modules/_is-integer.js
immosquare-cleaner-0.1.48 node_modules/core-js/modules/_is-integer.js
immosquare-cleaner-0.1.47 node_modules/core-js/library/modules/_is-integer.js
immosquare-cleaner-0.1.47 node_modules/core-js/modules/_is-integer.js
immosquare-cleaner-0.1.46 node_modules/core-js/library/modules/_is-integer.js
immosquare-cleaner-0.1.46 node_modules/core-js/modules/_is-integer.js
immosquare-cleaner-0.1.45 node_modules/core-js/library/modules/_is-integer.js
immosquare-cleaner-0.1.45 node_modules/core-js/modules/_is-integer.js
immosquare-cleaner-0.1.44 node_modules/core-js/library/modules/_is-integer.js
immosquare-cleaner-0.1.44 node_modules/core-js/modules/_is-integer.js
immosquare-cleaner-0.1.43 node_modules/core-js/library/modules/_is-integer.js
immosquare-cleaner-0.1.43 node_modules/core-js/modules/_is-integer.js