es-toolkit 1.13.1-dev.299 → 1.13.1-dev.301

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.
@@ -10,9 +10,15 @@ import {
10
10
  set,
11
11
  startsWith,
12
12
  zipObjectDeep
13
- } from "../chunk-NTFAWMZV.mjs";
13
+ } from "../chunk-I24736ZF.mjs";
14
14
  import "../chunk-NKLIE2OI.mjs";
15
15
  import "../chunk-XT74R35S.mjs";
16
+ import {
17
+ camelCase
18
+ } from "../chunk-Y5V7UAZZ.mjs";
19
+ import {
20
+ capitalize
21
+ } from "../chunk-U56ZOM7L.mjs";
16
22
  import {
17
23
  kebabCase
18
24
  } from "../chunk-EYYZQFOP.mjs";
@@ -25,6 +31,7 @@ import {
25
31
  import {
26
32
  startCase
27
33
  } from "../chunk-QXTNZR7B.mjs";
34
+ import "../chunk-WVQ7YVRK.mjs";
28
35
  import "../chunk-4OIZM4HS.mjs";
29
36
  import {
30
37
  withTimeout
@@ -33,20 +40,19 @@ import "../chunk-CVVZHOJX.mjs";
33
40
  import {
34
41
  delay
35
42
  } from "../chunk-O64NE2P4.mjs";
43
+ import "../chunk-Y3ZTWIBR.mjs";
36
44
  import {
37
- camelCase
38
- } from "../chunk-Y5V7UAZZ.mjs";
39
- import {
40
- capitalize
41
- } from "../chunk-U56ZOM7L.mjs";
42
- import "../chunk-WVQ7YVRK.mjs";
43
- import "../chunk-B645AYL4.mjs";
45
+ isNotNil
46
+ } from "../chunk-BMRTZMRE.mjs";
44
47
  import {
45
48
  isNull
46
49
  } from "../chunk-AIRSKN47.mjs";
47
50
  import {
48
51
  isUndefined
49
52
  } from "../chunk-VH2PV426.mjs";
53
+ import {
54
+ isArray
55
+ } from "../chunk-AGDMW65V.mjs";
50
56
  import {
51
57
  isEqual
52
58
  } from "../chunk-JYSV56US.mjs";
@@ -56,9 +62,6 @@ import {
56
62
  import {
57
63
  isNil
58
64
  } from "../chunk-WMM7TZLG.mjs";
59
- import {
60
- isNotNil
61
- } from "../chunk-BMRTZMRE.mjs";
62
65
  import "../chunk-54TK5BIS.mjs";
63
66
  import {
64
67
  omitBy
@@ -271,6 +274,9 @@ import {
271
274
  TimeoutError
272
275
  } from "../chunk-KIOYQRMQ.mjs";
273
276
  import "../chunk-236H5JZJ.mjs";
277
+ import {
278
+ negate
279
+ } from "../chunk-BOOQBJN2.mjs";
274
280
  import {
275
281
  noop
276
282
  } from "../chunk-LKXCOLNY.mjs";
@@ -283,9 +289,6 @@ import {
283
289
  import {
284
290
  debounce
285
291
  } from "../chunk-3IP4JVLL.mjs";
286
- import {
287
- negate
288
- } from "../chunk-BOOQBJN2.mjs";
289
292
  import "../chunk-24FKGR6U.mjs";
290
293
  export {
291
294
  AbortError,
@@ -324,6 +327,7 @@ export {
324
327
  intersectionBy,
325
328
  intersectionWith,
326
329
  invert,
330
+ isArray,
327
331
  isEqual,
328
332
  isLength,
329
333
  isNil,
@@ -1,4 +1,7 @@
1
1
  import "../chunk-236H5JZJ.mjs";
2
+ import {
3
+ negate
4
+ } from "../chunk-BOOQBJN2.mjs";
2
5
  import {
3
6
  noop
4
7
  } from "../chunk-LKXCOLNY.mjs";
@@ -11,9 +14,6 @@ import {
11
14
  import {
12
15
  debounce
13
16
  } from "../chunk-3IP4JVLL.mjs";
14
- import {
15
- negate
16
- } from "../chunk-BOOQBJN2.mjs";
17
17
  import "../chunk-24FKGR6U.mjs";
18
18
  export {
19
19
  debounce,
package/dist/index.d.mts CHANGED
@@ -80,6 +80,7 @@ export { isNull } from './predicate/isNull.mjs';
80
80
  export { isUndefined } from './predicate/isUndefined.mjs';
81
81
  export { isLength } from './predicate/isLength.mjs';
82
82
  export { isPlainObject } from './predicate/isPlainObject.mjs';
83
+ export { isArray } from './predicate/isArray.mjs';
83
84
  export { delay } from './promise/delay.mjs';
84
85
  export { withTimeout } from './promise/withTimeout.mjs';
85
86
  export { camelCase } from './string/camelCase.mjs';
package/dist/index.d.ts CHANGED
@@ -80,6 +80,7 @@ export { isNull } from './predicate/isNull.js';
80
80
  export { isUndefined } from './predicate/isUndefined.js';
81
81
  export { isLength } from './predicate/isLength.js';
82
82
  export { isPlainObject } from './predicate/isPlainObject.js';
83
+ export { isArray } from './predicate/isArray.js';
83
84
  export { delay } from './promise/delay.js';
84
85
  export { withTimeout } from './promise/withTimeout.js';
85
86
  export { camelCase } from './string/camelCase.js';
package/dist/index.js CHANGED
@@ -86,6 +86,7 @@ __export(src_exports, {
86
86
  intersectionBy: () => intersectionBy,
87
87
  intersectionWith: () => intersectionWith,
88
88
  invert: () => invert,
89
+ isArray: () => isArray,
89
90
  isEqual: () => isEqual,
90
91
  isLength: () => isLength,
91
92
  isNil: () => isNil,
@@ -1027,6 +1028,11 @@ function isLength(value) {
1027
1028
  return typeof value === "number" && value > -1 && value % 1 === 0 && value <= Number.MAX_SAFE_INTEGER;
1028
1029
  }
1029
1030
 
1031
+ // src/predicate/isArray.ts
1032
+ function isArray(value) {
1033
+ return Array.isArray(value);
1034
+ }
1035
+
1030
1036
  // src/promise/delay.ts
1031
1037
  function delay(ms, { signal } = {}) {
1032
1038
  return new Promise((resolve, reject) => {
@@ -1150,6 +1156,7 @@ function startCase(str) {
1150
1156
  intersectionBy,
1151
1157
  intersectionWith,
1152
1158
  invert,
1159
+ isArray,
1153
1160
  isEqual,
1154
1161
  isLength,
1155
1162
  isNil,