isLineStart

fun isLineStart(source: CharSequence, index: Int): Boolean

Return

whether the index is the start of the source or follows a line terminator

Parameters

source

text to inspect

index

index to test