6
submitted 1 year ago* (last edited 11 months ago) by KaKi87@jlai.lu to c/javascript@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] KaKi87@jlai.lu 1 points 1 year ago

Actual pattern-matching allows matching on the structure of a data type

That's a condition, so it can fit in a ternary.

this post was submitted on 19 Jun 2025
6 points (100.0% liked)

JavaScript

2786 readers
1 users here now

founded 3 years ago
MODERATORS