Y
Hacker News
new
|
ask
|
show
|
jobs
by
dagmx
397 days ago
Okay? So you cast it to the enum and instantly know it’s not a case you support.
It’s built in validation.