• Returns a random number from a uniform distribution.

    Parameters

    • Optional inf: number = 0

      Lower bound of distribution

    • Optional sup: number = 1

      Upper bound of distribution

    Returns number

    Example

    // Random number between -1 and 1
    const random = Chalkboard.numb.random(-1, 1);

Generated using TypeDoc