valid

open fun valid(): Boolean(source)

Check if the position is usable, also checks for special positions (ABSOLUTE_BEGIN_LINE and ABSOLUTE_END_LINE). Does not know what it is pointing at, so it can't check if the position is after the end of the source.

Return

true if the position is usable or a special position.