Readonly
_isHUnitUsed for a type guard check.
The unit's dimensions or undefined if dimensionless.
The ids for the units.
The unit's name.
The unit's offset.
The unit's quantity or undefined if none available.
The unit's scale.
The unit's symbol.
Static
quantitiesA list of all the quantities available.
Static
unitsConvert the unit to the new scalar.
The new scalar value.
The new unit to convert too.
The new scalar value.
Equality for units.
Optional
unit: HUnitThe value to compare against.
True if the units are equal.
Static
clearStatic
defineStatic
getStatic
getStatic
inspectStatic
isStatic
parseStatic
parseStatic
parseParse a line from units.txt
as follows...
unit :=
The text to parse.
The unit data or undefined if no unit data is found.
An error if unit data is found but the format is invalid.
Generated using TypeDoc
A haystack unit.
https://project-haystack.org/doc/Units