3 ms·The same can be written in Swift as (1...10).filter { $0.isMultiple(of: 2) }.forEach { print($0) }by viktorcode 6y agoThe same can be written in Swift as (1...10).filter { $0.isMultiple(of: 2) }.forEach { print($0) }