blob: c1ccafc825d94177c00539c66b690fea977e70a2 [file] [log] [blame]
/*!
* is-number <https://github.com/jonschlinkert/is-number>
*
* Copyright (c) 2014 Jon Schlinkert, contributors.
* Licensed under the MIT License
*/
'use strict';
module.exports = function isNumber(n) {
return !!(+n) || n === 0 || n === '0';
};