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

21
node_modules/es-toolkit/dist/array/union.d.ts generated vendored Normal file
View File

@@ -0,0 +1,21 @@
//#region src/array/union.d.ts
/**
* Creates an array of unique values from all given arrays.
*
* This function takes two arrays, merges them into a single array, and returns a new array
* containing only the unique values from the merged array.
*
* @template T - The type of elements in the array.
* @param {T[]} arr1 - The first array to merge and filter for unique values.
* @param {T[]} arr2 - The second array to merge and filter for unique values.
* @returns {T[]} A new array of unique values.
*
* @example
* const array1 = [1, 2, 3];
* const array2 = [3, 4, 5];
* const result = union(array1, array2);
* // result will be [1, 2, 3, 4, 5]
*/
declare function union<T>(arr1: readonly T[], arr2: readonly T[]): T[];
//#endregion
export { union };