Sha256: df87e1d274042c289090892ff30a0009b4bae36200b3a0946732138d7dafe0c9

Contents?: true

Size: 206 Bytes

Versions: 320

Compression:

Stored size: 206 Bytes

Contents

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

Version data entries

320 entries across 8 versions & 3 rubygems

Version Path
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-external-helpers/node_modules/core-js/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-syntax-async-functions/node_modules/core-js/library/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-syntax-function-bind/node_modules/core-js/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-async-to-generator/node_modules/core-js/library/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-arrow-functions/node_modules/core-js/library/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-arrow-functions/node_modules/core-js/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-block-scoping/node_modules/core-js/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-classes/node_modules/core-js/library/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-computed-properties/node_modules/core-js/library/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-computed-properties/node_modules/core-js/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-duplicate-keys/node_modules/core-js/library/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-duplicate-keys/node_modules/core-js/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-for-of/node_modules/core-js/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-function-name/node_modules/core-js/library/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-helper-get-function-arity/node_modules/core-js/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-modules-commonjs/node_modules/core-js/library/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-object-super/node_modules/core-js/library/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-object-super/node_modules/core-js/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-shorthand-properties/node_modules/core-js/library/modules/_is-integer.js
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-check-es2015-constants/node_modules/core-js/library/modules/_is-integer.js