doSafeCast

inline fun <E> doSafeCast(value: Any): E?(source)

value 安全的转化为类型 E,或者得到null。 相当于 value as? E