@dice-roller/rpg-dice-roller / DieLike
Type Alias: DieLike
DieLike =
DieDefinition&Partial<DieBehaviour>
Defined in: src/dice/types.ts:69
A range or faces definition with optional behaviour overrides.
Without a custom roll, range bounds must be safe integers and are sampled inclusively; face dice sample an array index uniformly. With a custom roll, range bounds may be fractional. Resolved numeric values must be finite and min must not exceed max.