Generate a random boolean.

Synopsis

Declared in <random.h>

bool
randbool() noexcept;

Return Value

A random true or false value.

Created with MrDocs