1234567891011121314151617181920212223242526272829303132333435363738 |
- var baseGetTag = require('./_baseGetTag'),
- isObjectLike = require('./isObjectLike');
- var numberTag = '[object Number]';
- function isNumber(value) {
- return typeof value == 'number' ||
- (isObjectLike(value) && baseGetTag(value) == numberTag);
- }
- module.exports = isNumber;
|