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
+12
View File
@@ -0,0 +1,12 @@
import { uniqBy as uniqBy$1 } from "../../array/uniqBy.mjs";
import { ary } from "../../function/ary.mjs";
import { identity } from "../../function/identity.mjs";
import { iteratee } from "../util/iteratee.mjs";
import { isArrayLikeObject } from "../predicate/isArrayLikeObject.mjs";
//#region src/compat/array/uniqBy.ts
function uniqBy(array, iteratee$1 = identity) {
if (!isArrayLikeObject(array)) return [];
return uniqBy$1(Array.from(array), ary(iteratee(iteratee$1), 1));
}
//#endregion
export { uniqBy };