es-toolkit 1.16.0-dev.462 → 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
  * This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `boolean`.
8
8
  *
9
9
  * @param {unknown} x - The Value to test if it is boolean.
10
- * @returns {x is boolean} True if the value is booelan, false otherwise.
10
+ * @returns {x is boolean} True if the value is boolean, false otherwise.
11
11
  *
12
12
  * @example
13
13
  *
@@ -7,7 +7,7 @@
7
7
  * This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `boolean`.
8
8
  *
9
9
  * @param {unknown} x - The Value to test if it is boolean.
10
- * @returns {x is boolean} True if the value is booelan, false otherwise.
10
+ * @returns {x is boolean} True if the value is boolean, false otherwise.
11
11
  *
12
12
  * @example
13
13
  *
@@ -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 Extract<T, object>} `true` if the value is an object-like, `false` otherwise.
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 Extract<T, object>} `true` if the value is an object-like, `false` otherwise.
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
 
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Checks if a given value is stirng.
2
+ * Checks if a given value is string.
3
3
  *
4
4
  * This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `string`.
5
5
  *
6
6
  * @param {unknown} value The value to check if it is string.
7
- * @returns {value is string} Returns `true` if `value` is a stirng, else `false`.
7
+ * @returns {value is string} Returns `true` if `value` is a string, else `false`.
8
8
  *
9
9
  * @example
10
10
  * const value1 = 'abc';
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Checks if a given value is stirng.
2
+ * Checks if a given value is string.
3
3
  *
4
4
  * This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `string`.
5
5
  *
6
6
  * @param {unknown} value The value to check if it is string.
7
- * @returns {value is string} Returns `true` if `value` is a stirng, else `false`.
7
+ * @returns {value is string} Returns `true` if `value` is a string, else `false`.
8
8
  *
9
9
  * @example
10
10
  * const value1 = 'abc';
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.462+5c551b88",
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": {