Skip to content
This page is available as Markdown at /api/selectors/functions/isactiveannotation.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.

isActiveAnnotation

isActiveAnnotation(annotation, options?): EditorSelector<boolean>

Defined in: selector.is-active-annotation.ts:12

Check whether an annotation is active in the given snapshot.

string

"partial" | "full"

Choose whether the annotation has to take up the entire selection in the snapshot or if the annotation can be partially selected.

Defaults to ‘full’

EditorSelector<boolean>