Function random

  • Parameters

    • state: AleaState

      a state object, probably created with [[mkState]]. Will be updated as a side effect

    Returns number

    a pseudo-random floating-point number in the interval [0, 1) (like Math.random())

Generated using TypeDoc