Combining Multiple `Match.when` with the Same Return Value

is there a way to combine multiple Match.whens that return the same value?
Was this page helpful?