api/utils/random-sfc32

Module for 32-bit Random Number Generation between [0, 1)

Source:

Methods

(inner) random(key) → {function}

Source:

Function that returns random number generator

Parameters:
Name Type Description
key String

Seed value for the RNG

Returns:
  • Returns prng instance
Type
function