isBoundary

open fun isBoundary(offset: Int): Boolean

Returns true if the specified character offset is a text boundary.

Return

true if "offset" is a boundary position, false otherwise.

Since

1.2

Parameters

offset

the character offset to check.

Throws

if the specified offset is less than the first text boundary or greater than the last text boundary.