std::math::random

rand_in_range

fn int rand_in_range(int min, int max) @builtin
Get a random in the range, both included.

Parameters