Skip to content

This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.

UnitLabel

Defined in: packages/engine/src/vm/Value.ts:291

The name a quantity is written under, and how many of its unit make one of that name. See Value.unitLabel.

readonly name: string;

Defined in: packages/engine/src/vm/Value.ts:293

The word the reader wrote (Meile, sprints).


readonly per: number;

Defined in: packages/engine/src/vm/Value.ts:295

How many of the value’s own unit one of name is: 1 for an alias, 2 for a sprint of two weeks. Always positive and finite.