Documentation / kotlin-core / com.femastudios.kotlin.core / kotlin.collections.Iterable / filterNotNullToSet

filterNotNullToSet

fun <T : Any> Iterable<T?>.filterNotNullToSet(): Set<T>

Returns a set containing all elements that are not null.