RandomFn: (() => number)

A random() function, must return a numer in the interval [0,1), just like Math.random().