UNPKG

397 BTypeScriptView Raw
1import { StringDistribution } from "../types";
2/**
3 * Returns a Distribution that returns a random string comprised of numbers
4 * or the characters `abcdef` (or `ABCDEF`) of length `length`.
5 * @param length Length of the result string
6 * @param uppercase Whether the string should use `ABCDEF` instead of `abcdef`
7 */
8export declare function hex(uppercase?: boolean): StringDistribution;