Add helper IsEnd function

This commit is contained in:
Alessio 2023-08-17 16:12:10 -03:00
parent d13956fe83
commit d10445813c

View File

@ -73,6 +73,10 @@ const (
CURSOR_END
)
func (c CursorPosition) IsEnd() bool {
return c == CURSOR_END
}
// Whether to require, exclude, or indifferent a type of content
type Filter int