If not, you need to handle the error (something li...
# announcements
r
If not, you need to handle the error (something like
val value = (y.firstOrNull { it -> it.value is AType }?.value ?: throw Exception("Oops")) as AType