import * as Random from 'https://unpkg.com/ixfx/dist/random.js';Random.weightedInteger(100); Copy
import * as Random from 'https://unpkg.com/ixfx/dist/random.js';Random.weightedInteger(100);
Random.weightedInteger({ min: 20, max: 30 }); Copy
Random.weightedInteger({ min: 20, max: 30 });
Random.weightedInteger({ max: 100, easing: `quadIn` }) Copy
Random.weightedInteger({ max: 100, easing: `quadIn` })
weightedIntegerSource
Random weighted integer
Example: 0..99
Example: 20..29
Example: 0..99 with 'quadIn' easing
Inherit Doc
weightedIntegerSource