Add all/none for new enum flags #11633
christopherzimmerman
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was quite happy to see added support recently for enum flags in #3025 , I think there are a couple more tweaks that could be made to improve usability.
Many other languages implement
all
andnone
for flags, so instead of having to check each flag, being able to do something like:Would be really nice.
Even nicer would be bitwise operations on flags:
etc.
Beta Was this translation helpful? Give feedback.
All reactions