Skip to content

Variable: isComment()

ts
const isComment: (a) => a is Comment;

Type guard to check if an annotation is a Comment

Parameters

a

AnnotationFeature<Geometry, AnnotationProps>

Returns

a is Comment