Files

12 lines
373 B
TypeScript

/**
* Generates all possible combinations of a specific size from an array.
*
* @param array - The array of strings to generate combinations from.
* @param number - The number of elements in each combination.
* @returns An array containing all possible combinations.
*/
export declare function getArrayCombinations(
array: string[],
number: number,
): string[][]