kotlin.text.last
last
fun CharSequence.last(): Char
Returns the last character.
Exceptions
NoSuchElementException
- if the char sequence is empty.
fun CharSequence.last(): Char
Returns the last character.
NoSuchElementException
- if the char sequence is empty.