Swift Forums
API Additions to Optional (filter, ifSome, ifNone, peek)
Evolution
Pitches
salutis
(Rudolf Adamkovič)
April 1, 2019, 6:09pm
16
How about
forSome
and
forNone
to match
forEach
?
1 Like
A dedicated function for evaluating Void returning closures when Optional instance is not nil
show post in topic
Terms of Service
Privacy Policy
Cookie Policy