The central database where all units are registered and cached.
A list of all the quantities.
All the registered units in the database.
Define a unit within the database.
The unit to define.
Return a unit that can be used when dividing two numbers together.
The first unit to divide by.
The second unit to divide by.
The unit to divide by.
An error if the units can't be divided.
Get a unit via its id or undefined if it can't be found.
The unit's id.
The unit or undefined.
Returns all the units for the specified quantity.
The quantity to search for.
An array of units.
Return a unit that can be used when multiplying two numbers together.
The first unit to multiply by.
The second unit to multiply by.
The unit to multiply by.
An error if the units can't be multiplied.
Generated using TypeDoc
The central database where all units are registered and cached.