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:
when(functionReturnsA()) {
is String -> //how do I refer to the match by name?
else -> ...
}