- 
        Couldn't load subscription status. 
- Fork 0
empty_string
        Ian Applebaum edited this page Jun 13, 2020 
        ·
        1 revision
      
    Prefer checking isEmpty over comparing string to an empty string literal.
- Identifier: empty_string
- Enabled by default: Disabled
- Supports autocorrection: No
- Kind: performance
- Analyzer rule: No
- Minimum Swift compiler version: 3.0.0
- Default configuration: warning
myString.isEmpty!myString.isEmpty"""
foo==
"""myString↓ == ""myString↓ != ""