Skip to content

How to tell if a flag was set or not? #1804

Answered by dearchap
Integralist asked this question in Q&A
Discussion options

You must be logged in to vote

In v2 you can use context.IsSet(flagName) to determine if the flag has been set.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Integralist
Comment options

Answer selected by Integralist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants