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

12
node_modules/es-toolkit/dist/compat/array/drop.mjs generated vendored Normal file
View File

@@ -0,0 +1,12 @@
import { drop as drop$1 } from "../../array/drop.mjs";
import { toInteger } from "../util/toInteger.mjs";
import { toArray } from "../_internal/toArray.mjs";
import { isArrayLike } from "../predicate/isArrayLike.mjs";
//#region src/compat/array/drop.ts
function drop(collection, itemsCount = 1, guard) {
if (!isArrayLike(collection)) return [];
itemsCount = guard ? 1 : toInteger(itemsCount);
return drop$1(toArray(collection), itemsCount);
}
//#endregion
export { drop };