Glossary: Kotlin Beyond the Basics
sealed interface
An interface with a fixed set of implementations, so a `when` over it needs no `else`.
Glossary: Kotlin Beyond the Basics
An interface with a fixed set of implementations, so a `when` over it needs no `else`.