UnitSystem

Preferred system of measurement. Choose UnitSystem.METRIC for the metric system (meters, kilometers), or, for the imperial system, UnitSystem.UK (miles, yards) or UnitSystem.US (miles, feet).

Important: This is a Public Preview API. It may be changed or removed at any time.

Entries

Link copied to clipboard

The measurement system specified by Le Système International d'Unités otherwise known as Metric system.

Link copied to clipboard

The measurement system followed in the USA and Puerto Rico.

Link copied to clipboard

A mix of metric and imperial units used in Great Britain.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard