uniquegen
Version:
uniquegen is an package for Node.js projects, enabling the generation of random numbers and words. It offers flexibility and ease of use, making it a valuable tool for developers.
16 lines • 890 B
TypeScript
type int = number;
type str = string;
/**
* The function generates a random string of specified length using an array of characters.
* @param {num} length - The length parameter is a number that specifies the length of the final symbol
* string that will be generated by the function.
* @param {str[]} MixedArray - The `MixedArray` parameter is an array of strings that contains the set
* of characters from which the random ID will be generated. The function will randomly select
* characters from this array to create the final ID string.
* @returns a string that is the final symbol string generated by the `GenerateMixedID` function. This
* string is created by joining all the elements of the `FinalID` array together using the `join()`
* method.
*/
export default function GenerateMixed(length: int, MixedArray: str[]): str;
export {};
//# sourceMappingURL=MixedGen.d.ts.map