random

Get a single random Integer of type T. T can be any integral type with four or fewer bytes.

  1. T random()
    T
    random
    (
    T
    )
    (
    )
    if (
    isIntegral!T &&
    (T.sizeof < 4)
    )
  2. T random()
  3. uint random(uint n)

Meta