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