KiteCore
Toggle table of contents
0.1.0
Guide
GitHub
common
Target filter
common
Switch theme
Search in API
Skip to content
KiteCore
kitecore
/
io.github.yuroyami.kitecore.collections
/
penultimateOrNull
penultimate
Or
Null
fun
<
T
>
List
<
T
>
.
penultimateOrNull
(
)
:
T
?
Returns the element before the last one, or null if the list has fewer than two elements.