When using a when statement whose value is matched...
# announcements
r
When using a when statement whose value is matched based on a function aplication is there any special identifier that can be used to reffer to the matched value? For example:
Copy code
when(functionReturnsA()) {
   is String -> //how do I refer to the match by name?
   else -> ...
}