Types
import type { OriginName, ReadableOriginName, Types, Caster, InputPropertyMetadata } from "@arcgis/core/core/accessorSupport/types.js";Type definitions
OriginName
Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- "defaults" | "service" | "portal-item" | "web-scene" | "web-map" | "link-chart" | "user"
ReadableOriginName
Type definition
- Type
- "service" | "portal-item" | "web-scene" | "web-map" | "link-chart"
Types
Type definition
- Type parameters
- <T extends Base = any, Base = T>
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Caster
Type definition
- Type parameters
- <T = any>
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Casts a value from one type to another.
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| value | the value. | |
- Returns
- T
the cast value.
InputPropertyMetadata
Type definition
- Type parameters
- <T extends Base = any, Base = T>
- Since
- ArcGIS Maps SDK for JavaScript 5.0