0

what's the use of "where" in switch conditional statements in swift programming language?

22nd Sep 2020, 5:23 PM
David Adediji
David Adediji - avatar
2 Answers
+ 2
This should help explain better. https://code.sololearn.com/c9ekQZx1Te63/?ref=app
29th Sep 2020, 9:59 PM
đŸ”„ Destiny đŸ”„
0
Where clause in swift is used to add conditions ,you can even add multiple where clause using (&& ). Ex-case (let name,let version) where (version < 0 && name.count < 0)
22nd Sep 2020, 7:32 PM
Prajwal landge