Skip to content
import { isWCSGraphicOrigin } from "@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

NameReturn TypeObject
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
ParameterTypeDescriptionRequired
origin

The graphic origin to check.

Returns
origin is WCSGraphicOrigin

Returns true if the graphic origin is of type WCSGraphicOrigin, false otherwise.