castAs

@Nullable
open fun <T> castAs(@NonNull t: Class<T>, @Nullable o: Any): T