feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
+18
View File
@@ -0,0 +1,18 @@
import { ValueIteratee } from "../_internal/ValueIteratee.js";
//#region src/compat/array/uniqBy.d.ts
/**
* Creates a duplicate-free version of an array, using an optional transform function.
*
* @template T
* @param {ArrayLike<T> | null | undefined} array - The array to inspect.
* @param {ValueIteratee<T>} iteratee - The transform function or property name to get values from.
* @returns {T[]} Returns the new duplicate-free array.
*
* @example
* uniqBy([2.1, 1.2, 2.3], Math.floor);
* // => [2.1, 1.2]
*/
declare function uniqBy<T>(array: ArrayLike<T> | null | undefined, iteratee: ValueIteratee<T>): T[];
//#endregion
export { uniqBy };