Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

13
node_modules/es-toolkit/dist/array/partition.mjs generated vendored Normal file
View File

@@ -0,0 +1,13 @@
//#region src/array/partition.ts
function partition(arr, isInTruthy) {
const truthy = [];
const falsy = [];
for (let i = 0; i < arr.length; i++) {
const item = arr[i];
if (isInTruthy(item, i, arr)) truthy.push(item);
else falsy.push(item);
}
return [truthy, falsy];
}
//#endregion
export { partition };