AMD:
require(["esri/core/quantity"], (quantity) => { /* code goes here */ });
ESM:
import * as quantity from "@arcgis/core/core/quantity.js";
Object:
esri/core/quantity
Since: ArcGIS Maps SDK for JavaScript 4.23
Quantity type used to represent measurements across the JS API.
Type Definitions
-
- Properties
-
value Number
Scalar value representing a length.
unit LengthUnitAny unit which represents length.
type StringUnit type.
The value is always "length".