previous

fun previous(): Char?

Reads the neighbouring character even when it lies before the slice's own start, which is what a boundary rule needs.

Return

the character before the current index, or null at the source's start