Skip to content

Function: seededSource() ​

ts
function seededSource(seed): RandomSource;

Defined in: src/random.ts:61

sfc32 started from a text seed: the same seed gives the same rolls on every platform, forever. Not for anything that must be unguessable.

Parameters ​

seed ​

string

Returns ​

RandomSource

MIT © John Morris