srand
ErrorsCollection

srand

Synthesised documentation from type/Num

From type/Num

See Original text in context

sub srand(Int $seed --> Int:D)

Seeds the pseudo random number generator used by Num.rand with the provided value. Note that srand is called with a platform dependent value when a Raku program is started.