Skip to content

Type Alias: Keep ​

ts
type Keep = "all" | "highest" | "lowest";

Defined in: src/dice.ts:87

Which dice count towards the total. all adds every die; highest and lowest keep one, which is how advantage and disadvantage are rolled, or as many as keepCount says.

MIT © John Morris