If a variable st which contains null reference, before using st in program we will check its nullability. * Returns a list containing only the non-null results of applying the given [transform] function * to each element and its index in the original collection. Convert Kotlin Map to List 1. It checks it using a null check using != null and isEmpty() method of string. Kotlin - Split String to Lines. data class VideoPage(val data: List