I have the following code, which I want to refactor not to use the external Bitmask candidatesMask for the filter call.
candidatesMask
Bitmask is a custom
Bitmask