UNPKG

pandemonium

Version:

Typical random-related functions for JavaScript.

13 lines (8 loc) 338 B
import {RNGFunction} from './types'; type RandomFloatFunction = (min: number, max: number) => number; declare const randomFloat: { (min: number, max: number): number; createRandomFloat(rng: RNGFunction): RandomFloatFunction; }; export function createRandomFloat(rng: RNGFunction): RandomFloatFunction; export default randomFloat;