Type Alias RandomFunction

RandomFunction: {
    currentSeed: string;
    (): number;
}

This is a drop in replacement for window.random(). You can also ask for the current seed, for us in a call to or Random.create(), Random.fromString() or Random.seedIsValid().