Swift - Optionals
Which of the following is the correct syntax for multiple optional binding in Swift?
if let a = optionalA, let b = optionalB {
// code
}Which of the following is the correct syntax for multiple optional binding in Swift?
if let a = optionalA, let b = optionalB {
// code
}if let statement are separated by commas.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions