I want to check if an Array is empty.
// Initialize the Array var a = [1,2,3] // Check if it is empty if a.isEmpty { print("Ooops, it's empty") } else { print("No, it's not empty") }
* Please let us know about anything: issues/feature request/suggestions......And we'll do our best to get back to you asap! :)
Or just post your issue on iSwift's Official Issue Tracker