safeAs

inline fun <T : Any> Any?.safeAs(): T?(source)