Plato on Github
Report Home
node_modules/es5-ext/math/sign/is-implemented.js
Maintainability
72.84
Lines of code
7
Difficulty
8.73
Estimated Errors
0.05
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function () { var sign = Math.sign; if (typeof sign !== 'function') return false; return ((sign(10) === 1) && (sign(-20) === -1)); };