Buy me a coffee
Kotlin
›
List
›
last
←
first
last
List
sortedBy
→
Returns the last element.
Syntax
list.last() / list.lastOrNull()