iOS Swift - Swift Language Essentials
How can you simplify this closure using Swift's shorthand argument names?
let divide = { (a: Int, b: Int) -> Int in
return a / b
}let divide = { (a: Int, b: Int) -> Int in
return a / b
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions