isBoundary

fun isBoundary(offset: Int): Boolean

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