es-toolkit 1.16.0-dev.463 → 1.16.0-dev.464
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.
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @template T - The type of value.
|
|
9
9
|
* @param {T} value - The value to test if it is an object-like.
|
|
10
|
-
* @returns {value is
|
|
10
|
+
* @returns {value is object} `true` if the value is an object-like, `false` otherwise.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* const value1 = { a: 1 };
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
* console.log(isObjectLike(value2)); // true
|
|
21
21
|
* console.log(isObjectLike(value3)); // false
|
|
22
22
|
* console.log(isObjectLike(value4)); // false
|
|
23
|
+
* console.log(isObjectLike(value5)); // false
|
|
23
24
|
*/
|
|
24
25
|
declare function isObjectLike(value: unknown): value is object;
|
|
25
26
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @template T - The type of value.
|
|
9
9
|
* @param {T} value - The value to test if it is an object-like.
|
|
10
|
-
* @returns {value is
|
|
10
|
+
* @returns {value is object} `true` if the value is an object-like, `false` otherwise.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* const value1 = { a: 1 };
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
* console.log(isObjectLike(value2)); // true
|
|
21
21
|
* console.log(isObjectLike(value3)); // false
|
|
22
22
|
* console.log(isObjectLike(value4)); // false
|
|
23
|
+
* console.log(isObjectLike(value5)); // false
|
|
23
24
|
*/
|
|
24
25
|
declare function isObjectLike(value: unknown): value is object;
|
|
25
26
|
|
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.16.0-dev.
|
|
4
|
+
"version": "1.16.0-dev.464+546aaeef",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|