getOrNull

inline fun <T : Any> getOrNull(): T?
open fun <T> getOrNull(clazz: KClass<*>): T?

Get first element of given type T return T