What is the best way to use if([names count]>1) in swift? [closed]

The correct way to write it should be:

if name.count > 1 {
    // Your code here
}

Leave a Comment