# Prosa.kt/com.alexstyl.prosakt/WhenCaseScope

```kotlin
class WhenCaseScope
```

## Functions

[match](/api/-prosa.kt/com.alexstyl.prosakt/-when-case-scope/match.md)

```kotlin
fun match(body: ExpressionScope.() -> Unit)
```

[then](/api/-prosa.kt/com.alexstyl.prosakt/-when-case-scope/then.md)

```kotlin
fun then(body: ExpressionScope.() -> Unit)
```
