5 lines
120 B
JavaScript
5 lines
120 B
JavaScript
function _isNumber(x) {
|
|
return Object.prototype.toString.call(x) === '[object Number]';
|
|
}
|
|
|
|
module.exports = _isNumber; |