Sys/Random

GitHub   Edit on GitHub

This module provides system access to random values.

1
import Random from 'sys/random'

Values

Random.random

1
random : () -> Number

Produce a random number. This function can be slow, so it’s best to seed a generator if lots of random data is needed.

This is a notification!