draw_int
host callCapy
function draw_int(from : u64, to : u64) u64
Description
draw_int() returns the next integer value from the request random sequence.
Bearer uses the request random seed and advances the random index after each call.
Parameters
from : the first range value
to : the second range value
Return Values
A u64 value between the range values.
Example
Capy
var value := draw_int(u64(1), u64(10)) print(value >= u64(1), "\n")