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