es-toolkit 1.16.0-dev.485 → 1.16.0-dev.487

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.
@@ -4,7 +4,7 @@
4
4
  * @template T - Type of elements in the input array.
5
5
  *
6
6
  * @param {T[]} arr - The array to take elements from.
7
- * @param {function(T): boolean} shouldContinueTaking - The function invoked per element.
7
+ * @param {(item: T) => boolean} shouldContinueTaking - The function invoked per element.
8
8
  * @returns {T[]} A new array containing the elements taken from the end while the predicate returns `true`.
9
9
  *
10
10
  * @example
@@ -4,7 +4,7 @@
4
4
  * @template T - Type of elements in the input array.
5
5
  *
6
6
  * @param {T[]} arr - The array to take elements from.
7
- * @param {function(T): boolean} shouldContinueTaking - The function invoked per element.
7
+ * @param {(item: T) => boolean} shouldContinueTaking - The function invoked per element.
8
8
  * @returns {T[]} A new array containing the elements taken from the end while the predicate returns `true`.
9
9
  *
10
10
  * @example