dreamworkAPI
Ctrl K
GitHub
typeDocs / unit / Definition

unit.Definition

typeclientmenusource

Internal definition of one registered unit abbreviation.

Fields

NameTypeDescription
measureunit.MeasureThe measure this unit belongs to.
systemunit.SystemThe unit system inside that measure (for example "metric").
to_anchornumberMultiplier from this unit into the system's anchor unit (value * to_anchor).
anchor_shiftnumber | nilAdditive shift around the system anchor; used by temperature (K, R).
Generated from the dreamwork meta branch.