You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add a extension function getOrNull(int index) on List to get element at the specified index safely. If out of bounds, return null.
It can work well with nnbd.
add a extension function
getOrNull(int index)
on List to get element at the specified index safely. If out of bounds, return null.It can work well with nnbd.
ref: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/get-or-null.html
The text was updated successfully, but these errors were encountered: