Random.value

  1. T value()
  2. T value(const(T) max)
  3. T value(const(T) from, const(T) to)
    struct Random(T = uint)
    @nogc
    T
    value
    (
    const(T) from
    ,
    const(T) to
    )

Parameters

from const(T)

start value

to const(T)

until value

Return Value

Type: T

random value in the range from..to