publish: trueEquivalent to switch in many other languages.
See match (docs)
switch in other languages switch with match.case.breaks.default to a single underscore.match <test value>:
<pattern(s)>:
<block>
<pattern(s)> when <pattern guard>:
<block>
<...>