Swift - Control Flow
Identify the error in this Swift code using
guard:func validate(_ input: String?) {
guard input != nil else
print("Input is nil")
return
print("Input is \(input!)")
}