Random

The 'random' module provides random number generator functions

Function Signatures

// Generates a random number.
const rand = () => Number

// Generates a random number within a specified range.
const rand_range = (start: Number, end: Number) => Number

Last updated