comparison for several possible enum values #246
ChrisBlankDe
started this conversation in
New Rule
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
it would be great if LinterCop would suggest if we should better use the
in
operator instead of several single comparisons.Example:
but the whole thing could get very complex :
Beta Was this translation helpful? Give feedback.
All reactions