https://pantsbuild.org/ logo
a

aloof-angle-91616

11/07/2019, 11:52 PM
that is part of what our
match
function for enums does — i’d totally recommend either using an enum in your case, or, if not applicable, adding the logic to do that check to
pants.util.collections