Interface IRandomIntOptions

interface IRandomIntOptions {
    max: number;
    min: number;
    random: (() => number);
}

Properties

Properties

max: number

Maximum value.

Default

1000

min: number

Minimum value.

Default

0

random: (() => number)

Type declaration

    • (): number
    • Random number generator.

      Returns number

      Default

      Math.random