API Reference > imodeljs-frontend > LocatingElements > HitDetail > getHitType getHitType Method Get the type of HitDetail. getHitType(): HitDetailType Returns - HitDetailType HitDetailType.Hit if this is a HitDetail, HitDetailType.Snap if it is a SnapDetail Defined in core/frontend/src/HitDetail.ts Line 132 Last Updated: 11 June, 2024