If I understand correctly, the Arcade Geometry type has subtypes:
- Point
- Multipoint
- Polyline
- Polygon
- Extent
Question:
Are those subtypes immutable, since the Geometry supertype is immutable?
Geometry is immutable, meaning it is not possible to change the geometry after it is created.
For example, if I assign a value to a point, does that mean that geometry can't be changed?
var pt = Point({ 'x': 100, 'y': 100, 'spatialReference':{'wkid':102100} });