UNPKG

375 BTypeScriptView Raw
1import { Distribution } from "../types";
2/**
3 * Returns a floating-point value within [min, max) or [min, max]
4 * @param min The minimum floating-point value, inclusive.
5 * @param max The maximum floating-point value.
6 * @param inclusive If true, `max` will be inclusive.
7 */
8export declare function real(min: number, max: number, inclusive?: boolean): Distribution;