Download .opencode/node_modules/pure-rand/lib/distribution/uniformInt.d.ts from Chenloong999/opencode-data: direct link, hf CLI and curl.
- Browser
- Download file 520 Bytes
-
https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/pure-rand/lib/distribution/uniformInt.d.ts
- Command line
-
hf download hf://datasets/Chenloong999/opencode-data/.opencode/node_modules/pure-rand/lib/distribution/uniformInt.d.ts
-
curl -L -o uniformInt.d.ts https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/pure-rand/lib/distribution/uniformInt.d.ts
520 Bytes
| import { t as RandomGenerator } from "../RandomGenerator-DcXj09Ch.js"; | |
| //#region src/distribution/uniformInt.d.ts | |
| /** | |
| * Uniformly generate random integer values between `from` (included) and `to` (included) | |
| * | |
| * @param rng - Instance of RandomGenerator to extract random values from | |
| * @param from - Lower bound of the range (included) | |
| * @param to - Upper bound of the range (included) | |
| * | |
| * @public | |
| */ | |
| declare function uniformInt(rng: RandomGenerator, from: number, to: number): number; | |
| //#endregion | |
| export { uniformInt }; |