The "values" do not have to be constants. Any valid Kotlin expression can be used as the basis for comparison.
You can learn more about this in:
Tags:
The "values" do not have to be constants. Any valid Kotlin expression can be used as the basis for comparison.