Skip to content

Type Alias: Compare ​

ts
type Compare = object;

Defined in: src/dice.ts:94

A number a die is compared with: at a face (=), at or below it (<=), at or above it (>=), or anything but it (<>). Notation's <3 is kept as <=2, and >7 as >=8.

Properties ​

op ​

ts
op: "=" | "<=" | ">=" | "<>";

Defined in: src/dice.ts:94


n ​

ts
n: number;

Defined in: src/dice.ts:94

MIT © John Morris