"But I still find ternary operators super interesting, please let me know if you know any I haven't covered!"
I feel like switch and/or match are polynary operators. The thing you're trying providing at the top is one operand and each case you try to match against is another operand which you can add as many of as you'd like.
"But I still find ternary operators super interesting, please let me know if you know any I haven't covered!"
I feel like switch and/or match are polynary operators. The thing you're trying providing at the top is one operand and each case you try to match against is another operand which you can add as many of as you'd like.