import { isWCSGraphicOrigin } from "@arcgis/core/graphic/isWCSGraphicOrigin.js";const { isWCSGraphicOrigin } = await $arcgis.import("@arcgis/core/graphic/isWCSGraphicOrigin.js");- Since
- ArcGIS Maps SDK for JavaScript 5.0
Provides a utility function to determine whether a graphic's origin is a WCSGraphicOrigin.
Functions
| Name | Return Type | Object |
|---|---|---|
origin is WCSGraphicOrigin | |
isWCSGraphicOrigin
Function
Utility function that determines whether a graphic’s origin is a WCSGraphicOrigin.
- Signature
-
isWCSGraphicOrigin (origin: GraphicOrigin | null | undefined): origin is WCSGraphicOrigin
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| origin | The graphic origin to check. | |
- Returns
- origin is WCSGraphicOrigin
Returns
trueif the graphic origin is of type WCSGraphicOrigin,falseotherwise.