/** * Provides a utility function to determine whether a graphic's origin is a [KnowledgeGraphGraphicOrigin](https://developers.arcgis.com/javascript/latest/references/core/graphic/KnowledgeGraphGraphicOrigin/). * * @since 5.0 */ import type GraphicOrigin from "./GraphicOrigin.js"; import type KnowledgeGraphGraphicOrigin from "./KnowledgeGraphGraphicOrigin.js"; /** * Utility function that determines whether a graphic’s origin is a [KnowledgeGraphGraphicOrigin](https://developers.arcgis.com/javascript/latest/references/core/graphic/KnowledgeGraphGraphicOrigin/). * * @param origin - The graphic origin to check. * @returns Returns `true` if the graphic origin is of type [KnowledgeGraphGraphicOrigin](https://developers.arcgis.com/javascript/latest/references/core/graphic/KnowledgeGraphGraphicOrigin/), `false` otherwise. */ export function isKnowledgeGraphGraphicOrigin(origin: GraphicOrigin | null | undefined): origin is KnowledgeGraphGraphicOrigin;