Skip to content

coin

coin(): "heads" | "tails"

Defined in: src/dice.ts:206

Heads or tails, for when a boolean would read worse at the call site.

"heads" | "tails"

coin(); // "heads"