Querylight TS Demo

createSeededRandom

Creates a deterministic pseudo-random number generator from a numeric seed.

Back to docs search

Reference Entry

createSeededRandom

API Reference · foundation · order 86

Creates a deterministic pseudo-random number generator from a numeric seed.

createSeededRandom

Creates a deterministic pseudo-random number generator from a numeric seed.

Declaration

function createSeededRandom(seed: number): RandomSource

Signatures

```ts function createSeededRandom(seed: number): RandomSource ``` Creates a deterministic pseudo-random number generator from a numeric seed.

Parameters

- `seed: number`