Clarifies the type of a value.
No processing is done on the value; this function is only for specifying a type when it is ambiguous and you get a type error. For conversions, see functions like conversion:from text(..).
Gets the type of the given value.
Converts a number from one unit to another (if possible).
Unit conversion is only available for exact conversions (e.g. metres to centimetres), not for approximate or changing conversions (e.g. euros to dollars).
Attempting to convert between unrelated units (e.g. metres to seconds) will result
in an error. This includes converting to/from plain numbers. If you want to add
a unit to a number multiply by 1 of that unit (for example, duration * 1{s}
), if you want to remove a unit then divide by 1 of that unit (for example, distance / 1{m}).