You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if someone names a variable count and checks if its 0 like count == 0 swiftlint throws an error and says “prefer .isEmpty() over checking count ==0” because it thinks that someone is using the method .count() on an array even though that is not the case
The text was updated successfully, but these errors were encountered:
if someone names a variable
count
and checks if its 0 likecount == 0
swiftlint throws an error and says “prefer .isEmpty() over checking count ==0” because it thinks that someone is using the method.count()
on an array even though that is not the caseThe text was updated successfully, but these errors were encountered: