@unglish/word-generator
Version:
A simple generator for creating unglish words.
10 lines • 353 B
TypeScript
/**
* Returns a random boolean given a weight (optional).
* ```
* randomBool(.2); // false
* ```
* @param weight=.5 - A weight to test the boolean against, if fxrand is less than this number, true is returned. Defaults to 0.5
*/
declare const _default: (weight: number) => boolean;
export default _default;
//# sourceMappingURL=randomBool.d.ts.map