Universal Robots TypeScript API - v10.12.0
Preparing search index...
utilities-units
Quantity
Class Quantity<T>
Quantity.
For a specific unit type, converts between units.
Type Parameters
T
extends
UnitType
Index
Constructors
constructor
Properties
value
Methods
get
As
Constructors
constructor
new
Quantity
<
T
extends
UnitType
>
(
value
:
Big
,
unit
:
Unit
<
T
>
)
:
Quantity
<
T
>
Type Parameters
T
extends
UnitType
Parameters
value
:
Big
to convert.
unit
:
Unit
<
T
>
for the provided value.
Returns
Quantity
<
T
>
Properties
value
value
:
Big
Methods
get
As
getAs
(
unit
:
Unit
<
T
>
)
:
Big
Parameters
unit
:
Unit
<
T
>
Returns
Big
Settings
Member Visibility
External
Inherited
Protected
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
value
Methods
get
As
Universal Robots TypeScript API - v10.12.0
Loading...
Quantity.
For a specific unit type, converts between units.