Random
The Random registry provides functions to generate random numbers, strings, and other data types, useful for scenarios requiring randomness or unique identifiers.
Last updated
The Random registry provides functions to generate random numbers, strings, and other data types, useful for scenarios requiring randomness or unique identifiers.
Last updated
You can easily import all the functions from the random
registry by including the following import statement in your code
The function generates a random alphanumeric string with the specified length, combining both letters and numbers to create a unique sequence.
The function generates a random string consisting of only alphabetic characters (letters) with the specified length.
The function generates a random ASCII string of the specified length, using characters within the ASCII range 32 to 126.
The function generates a random numeric string consisting only of digits, with the specified length.
The function generates a random byte array of the specified length and returns it as a Base64 encoded string.
The function generates a random integer between the specified minimum and maximum values (inclusive). It takes two parameters: min
for the minimum value and max
for the maximum value. The function then returns a random integer within this range.
Signature
Signature
Signature
Signature
Signature
Signature