coin
coin():
"heads"|"tails"
Defined in: src/dice.ts:206
Heads or tails, for when a boolean would read worse at the call site.
Returns
Section titled “Returns”"heads" | "tails"
Example
Section titled “Example”coin(); // "heads"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"