es-toolkit 1.19.0-dev.615 → 1.19.0-dev.616

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -77,6 +77,7 @@ export { cloneDeep } from '../object/cloneDeep.mjs';
77
77
  export { toMerged } from '../object/toMerged.mjs';
78
78
  export { isDate } from '../predicate/isDate.mjs';
79
79
  export { isEqual } from '../predicate/isEqual.mjs';
80
+ export { isNaN } from '../predicate/isNaN.mjs';
80
81
  export { isNil } from '../predicate/isNil.mjs';
81
82
  export { isNotNil } from '../predicate/isNotNil.mjs';
82
83
  export { isNull } from '../predicate/isNull.mjs';
@@ -77,6 +77,7 @@ export { cloneDeep } from '../object/cloneDeep.js';
77
77
  export { toMerged } from '../object/toMerged.js';
78
78
  export { isDate } from '../predicate/isDate.js';
79
79
  export { isEqual } from '../predicate/isEqual.js';
80
+ export { isNaN } from '../predicate/isNaN.js';
80
81
  export { isNil } from '../predicate/isNil.js';
81
82
  export { isNotNil } from '../predicate/isNotNil.js';
82
83
  export { isNull } from '../predicate/isNull.js';
@@ -8,7 +8,7 @@ const rest$1 = require('../_chunk/rest-CXt9w3.js');
8
8
  const range = require('../_chunk/range-BXlMmn.js');
9
9
  const randomInt = require('../_chunk/randomInt-CF7bZK.js');
10
10
  const toMerged = require('../_chunk/toMerged-Bzkqyz.js');
11
- const isWeakSet$1 = require('../_chunk/isWeakSet-E_VMwB.js');
11
+ const isWeakSet$1 = require('../_chunk/isWeakSet-vsS9b6.js');
12
12
  const isPlainObject$1 = require('../_chunk/isPlainObject-BIekvL.js');
13
13
  const string_index = require('../string/index.js');
14
14
 
@@ -1521,6 +1521,7 @@ exports.isDate = isWeakSet$1.isDate;
1521
1521
  exports.isEqual = isWeakSet$1.isEqual;
1522
1522
  exports.isFunction = isWeakSet$1.isFunction;
1523
1523
  exports.isLength = isWeakSet$1.isLength;
1524
+ exports.isNaN = isWeakSet$1.isNaN;
1524
1525
  exports.isNil = isWeakSet$1.isNil;
1525
1526
  exports.isNotNil = isWeakSet$1.isNotNil;
1526
1527
  exports.isNull = isWeakSet$1.isNull;
@@ -78,6 +78,7 @@ export { isObjectLike } from './predicate/isObjectLike.mjs';
78
78
  export { toMerged } from '../object/toMerged.mjs';
79
79
  export { isDate } from '../predicate/isDate.mjs';
80
80
  export { isEqual } from '../predicate/isEqual.mjs';
81
+ export { isNaN } from '../predicate/isNaN.mjs';
81
82
  export { isNil } from '../predicate/isNil.mjs';
82
83
  export { isNotNil } from '../predicate/isNotNil.mjs';
83
84
  export { isNull } from '../predicate/isNull.mjs';
package/dist/index.d.mts CHANGED
@@ -96,6 +96,7 @@ export { toMerged } from './object/toMerged.mjs';
96
96
  export { mergeWith } from './object/mergeWith.mjs';
97
97
  export { isDate } from './predicate/isDate.mjs';
98
98
  export { isEqual } from './predicate/isEqual.mjs';
99
+ export { isNaN } from './predicate/isNaN.mjs';
99
100
  export { isNil } from './predicate/isNil.mjs';
100
101
  export { isNotNil } from './predicate/isNotNil.mjs';
101
102
  export { isNull } from './predicate/isNull.mjs';
package/dist/index.d.ts CHANGED
@@ -96,6 +96,7 @@ export { toMerged } from './object/toMerged.js';
96
96
  export { mergeWith } from './object/mergeWith.js';
97
97
  export { isDate } from './predicate/isDate.js';
98
98
  export { isEqual } from './predicate/isEqual.js';
99
+ export { isNaN } from './predicate/isNaN.js';
99
100
  export { isNil } from './predicate/isNil.js';
100
101
  export { isNotNil } from './predicate/isNotNil.js';
101
102
  export { isNull } from './predicate/isNull.js';
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ const randomInt = require('./_chunk/randomInt-CF7bZK.js');
12
12
  const math_index = require('./math/index.js');
13
13
  const object_index = require('./object/index.js');
14
14
  const toMerged = require('./_chunk/toMerged-Bzkqyz.js');
15
- const isWeakSet = require('./_chunk/isWeakSet-E_VMwB.js');
15
+ const isWeakSet = require('./_chunk/isWeakSet-vsS9b6.js');
16
16
  const isPlainObject = require('./_chunk/isPlainObject-BIekvL.js');
17
17
  const predicate_index = require('./predicate/index.js');
18
18
  const string_index = require('./string/index.js');
@@ -122,6 +122,7 @@ exports.isDate = isWeakSet.isDate;
122
122
  exports.isEqual = isWeakSet.isEqual;
123
123
  exports.isFunction = isWeakSet.isFunction;
124
124
  exports.isLength = isWeakSet.isLength;
125
+ exports.isNaN = isWeakSet.isNaN;
125
126
  exports.isNil = isWeakSet.isNil;
126
127
  exports.isNotNil = isWeakSet.isNotNil;
127
128
  exports.isNull = isWeakSet.isNull;
package/dist/index.mjs CHANGED
@@ -96,6 +96,7 @@ export { toMerged } from './object/toMerged.mjs';
96
96
  export { mergeWith } from './object/mergeWith.mjs';
97
97
  export { isDate } from './predicate/isDate.mjs';
98
98
  export { isEqual } from './predicate/isEqual.mjs';
99
+ export { isNaN } from './predicate/isNaN.mjs';
99
100
  export { isNil } from './predicate/isNil.mjs';
100
101
  export { isNotNil } from './predicate/isNotNil.mjs';
101
102
  export { isNull } from './predicate/isNull.mjs';
@@ -1,5 +1,6 @@
1
1
  export { isDate } from './isDate.mjs';
2
2
  export { isEqual } from './isEqual.mjs';
3
+ export { isNaN } from './isNaN.mjs';
3
4
  export { isNil } from './isNil.mjs';
4
5
  export { isNotNil } from './isNotNil.mjs';
5
6
  export { isNull } from './isNull.mjs';
@@ -1,5 +1,6 @@
1
1
  export { isDate } from './isDate.js';
2
2
  export { isEqual } from './isEqual.js';
3
+ export { isNaN } from './isNaN.js';
3
4
  export { isNil } from './isNil.js';
4
5
  export { isNotNil } from './isNotNil.js';
5
6
  export { isNull } from './isNull.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const isWeakSet = require('../_chunk/isWeakSet-E_VMwB.js');
5
+ const isWeakSet = require('../_chunk/isWeakSet-vsS9b6.js');
6
6
  const isPlainObject = require('../_chunk/isPlainObject-BIekvL.js');
7
7
 
8
8
  function isRegExp(value) {
@@ -25,6 +25,7 @@ exports.isDate = isWeakSet.isDate;
25
25
  exports.isEqual = isWeakSet.isEqual;
26
26
  exports.isFunction = isWeakSet.isFunction;
27
27
  exports.isLength = isWeakSet.isLength;
28
+ exports.isNaN = isWeakSet.isNaN;
28
29
  exports.isNil = isWeakSet.isNil;
29
30
  exports.isNotNil = isWeakSet.isNotNil;
30
31
  exports.isNull = isWeakSet.isNull;
@@ -1,5 +1,6 @@
1
1
  export { isDate } from './isDate.mjs';
2
2
  export { isEqual } from './isEqual.mjs';
3
+ export { isNaN } from './isNaN.mjs';
3
4
  export { isNil } from './isNil.mjs';
4
5
  export { isNotNil } from './isNotNil.mjs';
5
6
  export { isNull } from './isNull.mjs';
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Checks if the value is NaN.
3
+ *
4
+ * @param {unknown} value - The value to check.
5
+ * @returns {value is typeof NaN} `true` if the value is NaN, `false` otherwise.
6
+ *
7
+ * @example
8
+ * isNaN(NaN); // true
9
+ * isNaN(0); // false
10
+ * isNaN('NaN'); // false
11
+ * isNaN(undefined); // false
12
+ */
13
+ declare function isNaN(value: unknown): value is typeof NaN;
14
+
15
+ export { isNaN };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Checks if the value is NaN.
3
+ *
4
+ * @param {unknown} value - The value to check.
5
+ * @returns {value is typeof NaN} `true` if the value is NaN, `false` otherwise.
6
+ *
7
+ * @example
8
+ * isNaN(NaN); // true
9
+ * isNaN(0); // false
10
+ * isNaN('NaN'); // false
11
+ * isNaN(undefined); // false
12
+ */
13
+ declare function isNaN(value: unknown): value is typeof NaN;
14
+
15
+ export { isNaN };
@@ -0,0 +1,5 @@
1
+ function isNaN(value) {
2
+ return Number.isNaN(value);
3
+ }
4
+
5
+ export { isNaN };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "es-toolkit",
3
3
  "description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
4
- "version": "1.19.0-dev.615+b402c8f4",
4
+ "version": "1.19.0-dev.616+3b983ff7",
5
5
  "homepage": "https://es-toolkit.slash.page",
6
6
  "bugs": "https://github.com/toss/es-toolkit/issues",
7
7
  "repository": {