randomBool

randomBool

Generate a random boolean. (true or false)

Import

import { randomBool } from '@fullstacksjs/toolbox';

Signature

function randomBool(): boolean {}

Examples

randomBool()  // true | false