kotlin · kotlin/TypeCastException
TypeCastException
TypeCastException
Thrown when an unsafe type cast using the as operator fails because the object is not an instance of the target type. Use as? to return null instead of throwing.
Thrown when an unsafe type cast using the as operator fails because the object is not an instance of the target type. Use as? to return null instead of throwing.