Constructor.
The name of this unit.
The description of this unit.
This unit's boolean attributes.
This unit's key-value attributes.
The collection of unit modifiers (of every schema in the merge group, since units are built after the unit modifiers have been merged).
ReadonlybooleanThe set of boolean attribute names this schema entry has.
ReadonlybooleanThe set of boolean attributes this schema entry has.
ReadonlyvalueThe collection of value attribute names this schema entry has.
ReadonlyvalueThe collection of value attributes this schema entry has.
The description of this schema entry.
The name of this schema entry.
Get the factor that converts a value given in a form of this unit to the unit class's base unit.
A unit string accepted by validateUnit.
The conversion factor, or null if this unit has no conversionFactor, the string is not a form of this unit, or a modifier used has no conversionFactor.
The legal derivatives of this unit.
A generator yielding each derivative unit string.
Determine if this schema unit is equivalent to another schema unit.
A schema unit to compare with this one.
Whether the other unit is equivalent to this schema unit.
Retrieve all values of a value attribute (by name) on this schema entry.
The attribute whose value should be returned.
The values of the attribute.
Retrieve a single value of a value attribute (by name) on this schema entry, throwing an error if more than one value exists.
The attribute whose value should be returned.
The value of the attribute.
Whether this schema entry has this attribute (by name).
The attribute to check for.
Whether this schema entry has this attribute.
Whether this schema entry has this boolean attribute (by name).
The attribute to check for.
Whether this schema entry has this attribute.
Determine whether a unit string is this unit written without an SI modifier.
A unit string.
True if the string is this unit's name (a compound unit such as m-per-s included) or, for a unit that is not a symbol, its plural.
Get the SI modifiers a form of this unit uses.
A unit string.
The modifiers in the order they are written (one per component of a compound unit at most), or an empty array if none is used or the string is not a form of this unit.
Determine if a value has this unit.
Either the whole value or the part after a blank (if not a prefix unit)
Whether the value has these units.
Staticsort
A schema unit.