Skip to content

getRandomBool()

Returns a uniformly random boolean.

Example:

ts
const value = getRandomBool();

Released under the MIT License.