Lodash isNumber function has an extra condition to check if value is number. I'm not sure why is that required and in what case it is not enough to use just typeof value == 'number'
function isNumber(value) {
return typeof value == 'number' ||
(isObjectLike(value) && getTag(value) == '[object Number]')
}
https://github.com/lodash/lodash/blob/aa1d7d870d9cf84842ee23ff485fd24abf0ed3d1/isNumber.js