Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
296 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * The base implementation of `_.isNaN` without support for number objects.
|
---|
| 3 | *
|
---|
| 4 | * @private
|
---|
| 5 | * @param {*} value The value to check.
|
---|
| 6 | * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
|
---|
| 7 | */
|
---|
| 8 | function baseIsNaN(value) {
|
---|
| 9 | return value !== value;
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | module.exports = baseIsNaN;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.