mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Remove references to _.
This commit is contained in:
11
isNumber.js
11
isNumber.js
@@ -8,26 +8,25 @@ const numberTag = '[object Number]';
|
||||
* Checks if `value` is classified as a `Number` primitive or object.
|
||||
*
|
||||
* **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
|
||||
* classified as numbers, use the `_.isFinite` method.
|
||||
* classified as numbers, use the `isFinite` method.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 0.1.0
|
||||
* @category Lang
|
||||
* @param {*} value The value to check.
|
||||
* @returns {boolean} Returns `true` if `value` is a number, else `false`.
|
||||
* @example
|
||||
*
|
||||
* _.isNumber(3);
|
||||
* isNumber(3);
|
||||
* // => true
|
||||
*
|
||||
* _.isNumber(Number.MIN_VALUE);
|
||||
* isNumber(Number.MIN_VALUE);
|
||||
* // => true
|
||||
*
|
||||
* _.isNumber(Infinity);
|
||||
* isNumber(Infinity);
|
||||
* // => true
|
||||
*
|
||||
* _.isNumber('3');
|
||||
* isNumber('3');
|
||||
* // => false
|
||||
*/
|
||||
function isNumber(value) {
|
||||
|
||||
Reference in New Issue
Block a user