For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.11 (unreleased)

Interface: SeededRandom

A deterministic RandomSource; report SeededRandom.seed on failure.

Extends​

Properties​

seed​

readonly seed: bigint;

Methods​

next()​

next(): number;

A uniformly distributed value in [0, 1).

Returns​

number

Inherited from​

RandomSource.next


toString()​

toString(): string;

Names the seed and how to replay it, for failure messages.

Returns​

string