All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
Expressions of the form x == true, !y == false are unnecessary. Consider using the variable directly.
x == true
!y == false
Prefer using the variable directly instead of performing a comparison.
if x == true {} if y == false {}
if x {} if !y {}