Skip to Content
BooleanrandomBool

randomBool

Generate a random boolean. (true or false)

Import

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

Signature

function randomBool(): boolean {}

Examples

randomBool() // true | false
Last updated on