Swift - Control Flow
Which of the following is the correct syntax for a switch case with a where clause in Swift?
let number = 10
switch number {
case let x where x > 5:
print("Greater than 5")
default:
print("5 or less")
}