API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classRange
@codexo/exojs-particles / particles / stable
Uniform random number in `[min, max]`. Each `sample()` returns a fresh roll; the bounds are inclusive on both ends (modulo the rounding bias inherent to `Math.random()`).
2
props
1
methods
0
events
Import
import { Range } from '@codexo/exojs-particles'Uniform random number in `[min, max]`. Each `sample()` returns a fresh roll; the bounds are inclusive on both ends (modulo the rounding bias inherent to `Math.random()`).
Constructors1
new(min: number, max: number): RangeMethods1
sample(): numberProperties2
max: numbermin: numberSource