randomBool

Generates a random boolean with the odds 1/max.

alias randomBool(uint max, uint seed = uint.max, uint R0 = __LINE__, string R1 = __TIMESTAMP__, string R2 = __FILE_FULL_PATH__, string R3 = __FUNCTION__) = Alias!(random!(uint, 0, max, seed, R0, R1, R2, R3) == 0)

Parameters

max

Maximum odds, this is what the chance is out of.

Meta