Package-level declarations

Functions

Link copied to clipboard
inline operator fun <T> List<T?>.get(index: Int, default: T): T

Extension function for List<T?> that allows getting an element at a specified index with a default value if the element is null or the index is out of bounds.