Add helper IsEnd function
This commit is contained in:
parent
d13956fe83
commit
d10445813c
@ -73,6 +73,10 @@ const (
|
|||||||
CURSOR_END
|
CURSOR_END
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func (c CursorPosition) IsEnd() bool {
|
||||||
|
return c == CURSOR_END
|
||||||
|
}
|
||||||
|
|
||||||
// Whether to require, exclude, or indifferent a type of content
|
// Whether to require, exclude, or indifferent a type of content
|
||||||
type Filter int
|
type Filter int
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user