Comment

Comment by austinz

Swift has "if case let" for that use case. (Admittedly, the syntax is a bit esoteric.)
parent austinz 10 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton