es-toolkit 1.13.1-dev.391 → 1.13.1-dev.393
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.
- package/dist/_chunk/{isArguments-UkjX2G.js → isFunction-Bab14Q.js} +0 -16
- package/dist/browser.global.js.map +1 -1
- package/dist/compat/index.d.mts +3 -3
- package/dist/compat/index.d.ts +3 -3
- package/dist/compat/index.js +26 -13
- package/dist/compat/index.mjs +3 -3
- package/dist/{predicate → compat/predicate}/isArguments.mjs +1 -1
- package/dist/compat/predicate/isArray.d.mts +3 -4
- package/dist/compat/predicate/isArray.d.ts +3 -4
- package/dist/{predicate → compat/predicate}/isArrayLike.mjs +1 -1
- package/dist/{predicate → compat/predicate}/isObjectLike.d.mts +4 -5
- package/dist/{predicate → compat/predicate}/isObjectLike.d.ts +4 -5
- package/dist/index.d.mts +0 -3
- package/dist/index.d.ts +0 -3
- package/dist/index.js +8 -11
- package/dist/index.mjs +0 -3
- package/dist/predicate/index.d.mts +0 -3
- package/dist/predicate/index.d.ts +0 -3
- package/dist/predicate/index.js +8 -11
- package/dist/predicate/index.mjs +0 -3
- package/package.json +1 -1
- /package/dist/{predicate → compat/predicate}/isArguments.d.mts +0 -0
- /package/dist/{predicate → compat/predicate}/isArguments.d.ts +0 -0
- /package/dist/{predicate → compat/predicate}/isArrayLike.d.mts +0 -0
- /package/dist/{predicate → compat/predicate}/isArrayLike.d.ts +0 -0
- /package/dist/{predicate → compat/predicate}/isObjectLike.mjs +0 -0
package/dist/compat/index.d.mts
CHANGED
|
@@ -81,10 +81,7 @@ export { isNull } from '../predicate/isNull.mjs';
|
|
|
81
81
|
export { isUndefined } from '../predicate/isUndefined.mjs';
|
|
82
82
|
export { isLength } from '../predicate/isLength.mjs';
|
|
83
83
|
export { isFunction } from '../predicate/isFunction.mjs';
|
|
84
|
-
export { isArrayLike } from '../predicate/isArrayLike.mjs';
|
|
85
84
|
export { isPrimitive } from '../predicate/isPrimitive.mjs';
|
|
86
|
-
export { isObjectLike } from '../predicate/isObjectLike.mjs';
|
|
87
|
-
export { isArguments } from '../predicate/isArguments.mjs';
|
|
88
85
|
export { delay } from '../promise/delay.mjs';
|
|
89
86
|
export { withTimeout } from '../promise/withTimeout.mjs';
|
|
90
87
|
export { camelCase } from '../string/camelCase.mjs';
|
|
@@ -111,6 +108,9 @@ export { property } from './object/property.mjs';
|
|
|
111
108
|
export { mapKeys } from './object/mapKeys.mjs';
|
|
112
109
|
export { isPlainObject } from './predicate/isPlainObject.mjs';
|
|
113
110
|
export { isArray } from './predicate/isArray.mjs';
|
|
111
|
+
export { isArguments } from './predicate/isArguments.mjs';
|
|
112
|
+
export { isArrayLike } from './predicate/isArrayLike.mjs';
|
|
113
|
+
export { isObjectLike } from './predicate/isObjectLike.mjs';
|
|
114
114
|
export { isBoolean } from './predicate/isBoolean.mjs';
|
|
115
115
|
export { isTypedArray } from './predicate/isTypedArray.mjs';
|
|
116
116
|
export { isMatch } from './predicate/isMatch.mjs';
|
package/dist/compat/index.d.ts
CHANGED
|
@@ -81,10 +81,7 @@ export { isNull } from '../predicate/isNull.js';
|
|
|
81
81
|
export { isUndefined } from '../predicate/isUndefined.js';
|
|
82
82
|
export { isLength } from '../predicate/isLength.js';
|
|
83
83
|
export { isFunction } from '../predicate/isFunction.js';
|
|
84
|
-
export { isArrayLike } from '../predicate/isArrayLike.js';
|
|
85
84
|
export { isPrimitive } from '../predicate/isPrimitive.js';
|
|
86
|
-
export { isObjectLike } from '../predicate/isObjectLike.js';
|
|
87
|
-
export { isArguments } from '../predicate/isArguments.js';
|
|
88
85
|
export { delay } from '../promise/delay.js';
|
|
89
86
|
export { withTimeout } from '../promise/withTimeout.js';
|
|
90
87
|
export { camelCase } from '../string/camelCase.js';
|
|
@@ -111,6 +108,9 @@ export { property } from './object/property.js';
|
|
|
111
108
|
export { mapKeys } from './object/mapKeys.js';
|
|
112
109
|
export { isPlainObject } from './predicate/isPlainObject.js';
|
|
113
110
|
export { isArray } from './predicate/isArray.js';
|
|
111
|
+
export { isArguments } from './predicate/isArguments.js';
|
|
112
|
+
export { isArrayLike } from './predicate/isArrayLike.js';
|
|
113
|
+
export { isObjectLike } from './predicate/isObjectLike.js';
|
|
114
114
|
export { isBoolean } from './predicate/isBoolean.js';
|
|
115
115
|
export { isTypedArray } from './predicate/isTypedArray.js';
|
|
116
116
|
export { isMatch } from './predicate/isMatch.js';
|
package/dist/compat/index.js
CHANGED
|
@@ -8,7 +8,7 @@ const function_index = require('../function/index.js');
|
|
|
8
8
|
const math_index = require('../math/index.js');
|
|
9
9
|
const randomInt = require('../_chunk/randomInt-CF7bZK.js');
|
|
10
10
|
const object_index = require('../object/index.js');
|
|
11
|
-
const
|
|
11
|
+
const isFunction = require('../_chunk/isFunction-Bab14Q.js');
|
|
12
12
|
const isTypedArray$1 = require('../_chunk/isTypedArray-BBEkFl.js');
|
|
13
13
|
const string_index = require('../string/index.js');
|
|
14
14
|
|
|
@@ -79,7 +79,7 @@ function flattenDepth(value, depth = 1) {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
function size(target) {
|
|
82
|
-
if (
|
|
82
|
+
if (isFunction.isNil(target)) {
|
|
83
83
|
return 0;
|
|
84
84
|
}
|
|
85
85
|
if (target instanceof Map || target instanceof Set) {
|
|
@@ -310,11 +310,24 @@ function isArray(value) {
|
|
|
310
310
|
return Array.isArray(value);
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
+
function isArguments(value) {
|
|
314
|
+
return value !== null && typeof value === 'object' && isFunction.getTag(value) === '[object Arguments]';
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
function isArrayLike(value) {
|
|
318
|
+
return value != null && typeof value !== "function" &&
|
|
319
|
+
isFunction.isLength(value.length);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
function isObjectLike(value) {
|
|
323
|
+
return typeof value === 'object' && value !== null;
|
|
324
|
+
}
|
|
325
|
+
|
|
313
326
|
function isBoolean(x) {
|
|
314
327
|
if (x === true || x === false) {
|
|
315
328
|
return true;
|
|
316
329
|
}
|
|
317
|
-
if (typeof x === 'object' && x != null &&
|
|
330
|
+
if (typeof x === 'object' && x != null && isFunction.getTag(x) === '[object Boolean]') {
|
|
318
331
|
return true;
|
|
319
332
|
}
|
|
320
333
|
return false;
|
|
@@ -540,16 +553,13 @@ exports.omit = object_index.omit;
|
|
|
540
553
|
exports.omitBy = object_index.omitBy;
|
|
541
554
|
exports.pick = object_index.pick;
|
|
542
555
|
exports.pickBy = object_index.pickBy;
|
|
543
|
-
exports.
|
|
544
|
-
exports.
|
|
545
|
-
exports.
|
|
546
|
-
exports.
|
|
547
|
-
exports.
|
|
548
|
-
exports.
|
|
549
|
-
exports.
|
|
550
|
-
exports.isNull = isArguments.isNull;
|
|
551
|
-
exports.isObjectLike = isArguments.isObjectLike;
|
|
552
|
-
exports.isUndefined = isArguments.isUndefined;
|
|
556
|
+
exports.isEqual = isFunction.isEqual;
|
|
557
|
+
exports.isFunction = isFunction.isFunction;
|
|
558
|
+
exports.isLength = isFunction.isLength;
|
|
559
|
+
exports.isNil = isFunction.isNil;
|
|
560
|
+
exports.isNotNil = isFunction.isNotNil;
|
|
561
|
+
exports.isNull = isFunction.isNull;
|
|
562
|
+
exports.isUndefined = isFunction.isUndefined;
|
|
553
563
|
exports.isPrimitive = isTypedArray$1.isPrimitive;
|
|
554
564
|
exports.camelCase = string_index.camelCase;
|
|
555
565
|
exports.capitalize = string_index.capitalize;
|
|
@@ -569,9 +579,12 @@ exports.flatten = flatten;
|
|
|
569
579
|
exports.flattenDeep = flattenDeep;
|
|
570
580
|
exports.flattenDepth = flattenDepth;
|
|
571
581
|
exports.get = get;
|
|
582
|
+
exports.isArguments = isArguments;
|
|
572
583
|
exports.isArray = isArray;
|
|
584
|
+
exports.isArrayLike = isArrayLike;
|
|
573
585
|
exports.isBoolean = isBoolean;
|
|
574
586
|
exports.isMatch = isMatch;
|
|
587
|
+
exports.isObjectLike = isObjectLike;
|
|
575
588
|
exports.isPlainObject = isPlainObject;
|
|
576
589
|
exports.isTypedArray = isTypedArray;
|
|
577
590
|
exports.mapKeys = mapKeys;
|
package/dist/compat/index.mjs
CHANGED
|
@@ -81,10 +81,7 @@ export { isNull } from '../predicate/isNull.mjs';
|
|
|
81
81
|
export { isUndefined } from '../predicate/isUndefined.mjs';
|
|
82
82
|
export { isLength } from '../predicate/isLength.mjs';
|
|
83
83
|
export { isFunction } from '../predicate/isFunction.mjs';
|
|
84
|
-
export { isArrayLike } from '../predicate/isArrayLike.mjs';
|
|
85
84
|
export { isPrimitive } from '../predicate/isPrimitive.mjs';
|
|
86
|
-
export { isObjectLike } from '../predicate/isObjectLike.mjs';
|
|
87
|
-
export { isArguments } from '../predicate/isArguments.mjs';
|
|
88
85
|
export { delay } from '../promise/delay.mjs';
|
|
89
86
|
export { withTimeout } from '../promise/withTimeout.mjs';
|
|
90
87
|
export { camelCase } from '../string/camelCase.mjs';
|
|
@@ -111,6 +108,9 @@ export { property } from './object/property.mjs';
|
|
|
111
108
|
export { mapKeys } from './object/mapKeys.mjs';
|
|
112
109
|
export { isPlainObject } from './predicate/isPlainObject.mjs';
|
|
113
110
|
export { isArray } from './predicate/isArray.mjs';
|
|
111
|
+
export { isArguments } from './predicate/isArguments.mjs';
|
|
112
|
+
export { isArrayLike } from './predicate/isArrayLike.mjs';
|
|
113
|
+
export { isObjectLike } from './predicate/isObjectLike.mjs';
|
|
114
114
|
export { isBoolean } from './predicate/isBoolean.mjs';
|
|
115
115
|
export { isTypedArray } from './predicate/isTypedArray.mjs';
|
|
116
116
|
export { isMatch } from './predicate/isMatch.mjs';
|
|
@@ -6,9 +6,8 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an array.
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
10
|
-
* @
|
|
11
|
-
* @returns {value is Extract<T, unknown[]>} `true` if the value is an array, `false` otherwise.
|
|
9
|
+
* @param {unknown} value - The value to test if it is an array.
|
|
10
|
+
* @returns {value is any[]} `true` if the value is an array, `false` otherwise.
|
|
12
11
|
*
|
|
13
12
|
* @example
|
|
14
13
|
* const value1 = [1, 2, 3];
|
|
@@ -19,6 +18,6 @@
|
|
|
19
18
|
* console.log(isArray(value2)); // false
|
|
20
19
|
* console.log(isArray(value3)); // false
|
|
21
20
|
*/
|
|
22
|
-
declare function isArray
|
|
21
|
+
declare function isArray(value?: unknown): value is any[];
|
|
23
22
|
|
|
24
23
|
export { isArray };
|
|
@@ -6,9 +6,8 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an array.
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
10
|
-
* @
|
|
11
|
-
* @returns {value is Extract<T, unknown[]>} `true` if the value is an array, `false` otherwise.
|
|
9
|
+
* @param {unknown} value - The value to test if it is an array.
|
|
10
|
+
* @returns {value is any[]} `true` if the value is an array, `false` otherwise.
|
|
12
11
|
*
|
|
13
12
|
* @example
|
|
14
13
|
* const value1 = [1, 2, 3];
|
|
@@ -19,6 +18,6 @@
|
|
|
19
18
|
* console.log(isArray(value2)); // false
|
|
20
19
|
* console.log(isArray(value3)); // false
|
|
21
20
|
*/
|
|
22
|
-
declare function isArray
|
|
21
|
+
declare function isArray(value?: unknown): value is any[];
|
|
23
22
|
|
|
24
23
|
export { isArray };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Checks if the given value is
|
|
2
|
+
* Checks if the given value is object-like.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* It returns `true` if the value is an object-like, and `false` otherwise.
|
|
4
|
+
* A value is object-like if its type is object and it is not null.
|
|
6
5
|
*
|
|
7
|
-
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an object-like.
|
|
6
|
+
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an object-like value.
|
|
8
7
|
*
|
|
9
8
|
* @template T - The type of value.
|
|
10
9
|
* @param {T} value - The value to test if it is an object-like.
|
|
@@ -22,6 +21,6 @@
|
|
|
22
21
|
* console.log(isObjectLike(value3)); // false
|
|
23
22
|
* console.log(isObjectLike(value4)); // false
|
|
24
23
|
*/
|
|
25
|
-
declare function isObjectLike
|
|
24
|
+
declare function isObjectLike(value: unknown): value is object;
|
|
26
25
|
|
|
27
26
|
export { isObjectLike };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Checks if the given value is
|
|
2
|
+
* Checks if the given value is object-like.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* It returns `true` if the value is an object-like, and `false` otherwise.
|
|
4
|
+
* A value is object-like if its type is object and it is not null.
|
|
6
5
|
*
|
|
7
|
-
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an object-like.
|
|
6
|
+
* This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to an object-like value.
|
|
8
7
|
*
|
|
9
8
|
* @template T - The type of value.
|
|
10
9
|
* @param {T} value - The value to test if it is an object-like.
|
|
@@ -22,6 +21,6 @@
|
|
|
22
21
|
* console.log(isObjectLike(value3)); // false
|
|
23
22
|
* console.log(isObjectLike(value4)); // false
|
|
24
23
|
*/
|
|
25
|
-
declare function isObjectLike
|
|
24
|
+
declare function isObjectLike(value: unknown): value is object;
|
|
26
25
|
|
|
27
26
|
export { isObjectLike };
|
package/dist/index.d.mts
CHANGED
|
@@ -89,11 +89,8 @@ export { isUndefined } from './predicate/isUndefined.mjs';
|
|
|
89
89
|
export { isLength } from './predicate/isLength.mjs';
|
|
90
90
|
export { isPlainObject } from './predicate/isPlainObject.mjs';
|
|
91
91
|
export { isFunction } from './predicate/isFunction.mjs';
|
|
92
|
-
export { isArrayLike } from './predicate/isArrayLike.mjs';
|
|
93
92
|
export { isTypedArray } from './predicate/isTypedArray.mjs';
|
|
94
93
|
export { isPrimitive } from './predicate/isPrimitive.mjs';
|
|
95
|
-
export { isObjectLike } from './predicate/isObjectLike.mjs';
|
|
96
|
-
export { isArguments } from './predicate/isArguments.mjs';
|
|
97
94
|
export { isBoolean } from './predicate/isBoolean.mjs';
|
|
98
95
|
export { delay } from './promise/delay.mjs';
|
|
99
96
|
export { withTimeout } from './promise/withTimeout.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -89,11 +89,8 @@ export { isUndefined } from './predicate/isUndefined.js';
|
|
|
89
89
|
export { isLength } from './predicate/isLength.js';
|
|
90
90
|
export { isPlainObject } from './predicate/isPlainObject.js';
|
|
91
91
|
export { isFunction } from './predicate/isFunction.js';
|
|
92
|
-
export { isArrayLike } from './predicate/isArrayLike.js';
|
|
93
92
|
export { isTypedArray } from './predicate/isTypedArray.js';
|
|
94
93
|
export { isPrimitive } from './predicate/isPrimitive.js';
|
|
95
|
-
export { isObjectLike } from './predicate/isObjectLike.js';
|
|
96
|
-
export { isArguments } from './predicate/isArguments.js';
|
|
97
94
|
export { isBoolean } from './predicate/isBoolean.js';
|
|
98
95
|
export { delay } from './promise/delay.js';
|
|
99
96
|
export { withTimeout } from './promise/withTimeout.js';
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ const function_index = require('./function/index.js');
|
|
|
9
9
|
const math_index = require('./math/index.js');
|
|
10
10
|
const randomInt = require('./_chunk/randomInt-CF7bZK.js');
|
|
11
11
|
const object_index = require('./object/index.js');
|
|
12
|
-
const
|
|
12
|
+
const isFunction = require('./_chunk/isFunction-Bab14Q.js');
|
|
13
13
|
const isTypedArray = require('./_chunk/isTypedArray-BBEkFl.js');
|
|
14
14
|
const predicate_index = require('./predicate/index.js');
|
|
15
15
|
const string_index = require('./string/index.js');
|
|
@@ -101,16 +101,13 @@ exports.omit = object_index.omit;
|
|
|
101
101
|
exports.omitBy = object_index.omitBy;
|
|
102
102
|
exports.pick = object_index.pick;
|
|
103
103
|
exports.pickBy = object_index.pickBy;
|
|
104
|
-
exports.
|
|
105
|
-
exports.
|
|
106
|
-
exports.
|
|
107
|
-
exports.
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
110
|
-
exports.
|
|
111
|
-
exports.isNull = isArguments.isNull;
|
|
112
|
-
exports.isObjectLike = isArguments.isObjectLike;
|
|
113
|
-
exports.isUndefined = isArguments.isUndefined;
|
|
104
|
+
exports.isEqual = isFunction.isEqual;
|
|
105
|
+
exports.isFunction = isFunction.isFunction;
|
|
106
|
+
exports.isLength = isFunction.isLength;
|
|
107
|
+
exports.isNil = isFunction.isNil;
|
|
108
|
+
exports.isNotNil = isFunction.isNotNil;
|
|
109
|
+
exports.isNull = isFunction.isNull;
|
|
110
|
+
exports.isUndefined = isFunction.isUndefined;
|
|
114
111
|
exports.isPlainObject = isTypedArray.isPlainObject;
|
|
115
112
|
exports.isPrimitive = isTypedArray.isPrimitive;
|
|
116
113
|
exports.isTypedArray = isTypedArray.isTypedArray;
|
package/dist/index.mjs
CHANGED
|
@@ -89,11 +89,8 @@ export { isUndefined } from './predicate/isUndefined.mjs';
|
|
|
89
89
|
export { isLength } from './predicate/isLength.mjs';
|
|
90
90
|
export { isPlainObject } from './predicate/isPlainObject.mjs';
|
|
91
91
|
export { isFunction } from './predicate/isFunction.mjs';
|
|
92
|
-
export { isArrayLike } from './predicate/isArrayLike.mjs';
|
|
93
92
|
export { isTypedArray } from './predicate/isTypedArray.mjs';
|
|
94
93
|
export { isPrimitive } from './predicate/isPrimitive.mjs';
|
|
95
|
-
export { isObjectLike } from './predicate/isObjectLike.mjs';
|
|
96
|
-
export { isArguments } from './predicate/isArguments.mjs';
|
|
97
94
|
export { isBoolean } from './predicate/isBoolean.mjs';
|
|
98
95
|
export { delay } from './promise/delay.mjs';
|
|
99
96
|
export { withTimeout } from './promise/withTimeout.mjs';
|
|
@@ -6,9 +6,6 @@ export { isUndefined } from './isUndefined.mjs';
|
|
|
6
6
|
export { isLength } from './isLength.mjs';
|
|
7
7
|
export { isPlainObject } from './isPlainObject.mjs';
|
|
8
8
|
export { isFunction } from './isFunction.mjs';
|
|
9
|
-
export { isArrayLike } from './isArrayLike.mjs';
|
|
10
9
|
export { isTypedArray } from './isTypedArray.mjs';
|
|
11
10
|
export { isPrimitive } from './isPrimitive.mjs';
|
|
12
|
-
export { isObjectLike } from './isObjectLike.mjs';
|
|
13
|
-
export { isArguments } from './isArguments.mjs';
|
|
14
11
|
export { isBoolean } from './isBoolean.mjs';
|
|
@@ -6,9 +6,6 @@ export { isUndefined } from './isUndefined.js';
|
|
|
6
6
|
export { isLength } from './isLength.js';
|
|
7
7
|
export { isPlainObject } from './isPlainObject.js';
|
|
8
8
|
export { isFunction } from './isFunction.js';
|
|
9
|
-
export { isArrayLike } from './isArrayLike.js';
|
|
10
9
|
export { isTypedArray } from './isTypedArray.js';
|
|
11
10
|
export { isPrimitive } from './isPrimitive.js';
|
|
12
|
-
export { isObjectLike } from './isObjectLike.js';
|
|
13
|
-
export { isArguments } from './isArguments.js';
|
|
14
11
|
export { isBoolean } from './isBoolean.js';
|
package/dist/predicate/index.js
CHANGED
|
@@ -2,23 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const isFunction = require('../_chunk/isFunction-Bab14Q.js');
|
|
6
6
|
const isTypedArray = require('../_chunk/isTypedArray-BBEkFl.js');
|
|
7
7
|
|
|
8
8
|
function isBoolean(x) {
|
|
9
9
|
return typeof x === 'boolean';
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.isNull = isArguments.isNull;
|
|
20
|
-
exports.isObjectLike = isArguments.isObjectLike;
|
|
21
|
-
exports.isUndefined = isArguments.isUndefined;
|
|
12
|
+
exports.isEqual = isFunction.isEqual;
|
|
13
|
+
exports.isFunction = isFunction.isFunction;
|
|
14
|
+
exports.isLength = isFunction.isLength;
|
|
15
|
+
exports.isNil = isFunction.isNil;
|
|
16
|
+
exports.isNotNil = isFunction.isNotNil;
|
|
17
|
+
exports.isNull = isFunction.isNull;
|
|
18
|
+
exports.isUndefined = isFunction.isUndefined;
|
|
22
19
|
exports.isPlainObject = isTypedArray.isPlainObject;
|
|
23
20
|
exports.isPrimitive = isTypedArray.isPrimitive;
|
|
24
21
|
exports.isTypedArray = isTypedArray.isTypedArray;
|
package/dist/predicate/index.mjs
CHANGED
|
@@ -6,9 +6,6 @@ export { isUndefined } from './isUndefined.mjs';
|
|
|
6
6
|
export { isLength } from './isLength.mjs';
|
|
7
7
|
export { isPlainObject } from './isPlainObject.mjs';
|
|
8
8
|
export { isFunction } from './isFunction.mjs';
|
|
9
|
-
export { isArrayLike } from './isArrayLike.mjs';
|
|
10
9
|
export { isTypedArray } from './isTypedArray.mjs';
|
|
11
10
|
export { isPrimitive } from './isPrimitive.mjs';
|
|
12
|
-
export { isObjectLike } from './isObjectLike.mjs';
|
|
13
|
-
export { isArguments } from './isArguments.mjs';
|
|
14
11
|
export { isBoolean } from './isBoolean.mjs';
|
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.13.1-dev.
|
|
4
|
+
"version": "1.13.1-dev.393+4bb457ad",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|