Skip to content

@vttforge/types / DieTermLike

Interface: DieTermLike ​

A Die term, the one a system reaches for.

Extends ​

Properties ​

denomination ​

readonly denomination: string


expression ​

readonly expression: string

Inherited from ​

RollTermLike.expression


faces ​

faces: number


flavor ​

readonly flavor: string

Inherited from ​

RollTermLike.flavor


formula ​

readonly formula: string

Inherited from ​

RollTermLike.formula


isDeterministic ​

readonly isDeterministic: boolean

Inherited from ​

RollTermLike.isDeterministic


number ​

number: number


options ​

options: Record<string, unknown>

Inherited from ​

RollTermLike.options


results ​

readonly results: DiceTermResult[]


total ​

readonly total: string | number | undefined

Inherited from ​

RollTermLike.total


values ​

readonly values: number[]

Methods ​

toJSON() ​

toJSON(): Record<string, unknown>

Returns ​

Record<string, unknown>

Inherited from ​

RollTermLike.toJSON

MIT licensed.