Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replace multiple
==
checks with in
To check if a variable is equal to one of many values, combine the values into a tuple and check if the variable is contained `in` it instead of checking for equality against each of the values. This is faster, less verbose, and more readable.
- Loading branch information