Match and Case default


Is there a way to set a default behaviour on a “Match” like in a switch on javascript ?


Case has a property IsDefault which you can set to either True or False.

Thanks, would be nice to add this to the doc :wink:

I’ll make sure it is

@hasselknippe: Be sure to mention that it needs a case as well (String, Number, Bool), and not just IsDefault.

Will do @bolav. Thanks for the tip!