Skip to content
Functionutilsv0.8.17

generateCode

Generates a random numeric code with the specified number of digits.

generateCode(digits: number): number