Swift Forums
Comparing enums without their associated values
Evolution
Pitches
lassejansen
(Lasse Jansen)
February 6, 2019, 5:13pm
6
Using the is-Syntax may be a another idea:
if test is .bar { // ... }
12 Likes
show post in topic