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/reduceAsync.mjs generated vendored Normal file
View File

@@ -0,0 +1,13 @@
//#region src/array/reduceAsync.ts
async function reduceAsync(array, reducer, initialValue) {
let startIndex = 0;
if (initialValue == null) {
initialValue = array[0];
startIndex = 1;
}
let accumulator = initialValue;
for (let i = startIndex; i < array.length; i++) accumulator = await reducer(accumulator, array[i], i, array);
return accumulator;
}
//#endregion
export { reduceAsync };