std::math::random

rand

fn int rand(int range) @builtin
Get a default random value between 0 and range (not including range)

Parameters