Plato on Github
Report Home
node_modules/es5-ext/number/is-integer/is-implemented.js
Maintainability
73.07
Lines of code
7
Difficulty
8.00
Estimated Errors
0.05
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function () { var isInteger = Number.isInteger; if (typeof isInteger !== 'function') return false; return !isInteger('23') && isInteger(34) && !isInteger(32.34); };