typed

inline fun <T> Any?.typed(): T?

Cast this to type T or return null.

Just an alias for (this as? T)