source: imaps-frontend/node_modules/core-js/internals/is-integral-number.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 364 bytes
RevLine 
[79a0317]1'use strict';
2var isObject = require('../internals/is-object');
3
4var floor = Math.floor;
5
6// `IsIntegralNumber` abstract operation
7// https://tc39.es/ecma262/#sec-isintegralnumber
8// eslint-disable-next-line es/no-number-isinteger -- safe
9module.exports = Number.isInteger || function isInteger(it) {
10 return !isObject(it) && isFinite(it) && floor(it) === it;
11};
Note: See TracBrowser for help on using the repository browser.