Skip to content

Function: isComment() ​

ts
function isComment(a): a is Comment;

Type guard to check if an annotation is a Comment

Parameters ​

a ​

AnnotationFeature<Geometry, AnnotationProps>

Returns ​

a is Comment