what's the use of "where" in switch conditional statements in swift programming language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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