We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isValueOf
Add a new rule that checks whether a value is a value in an object.
enforce("Bravo").isValueOf({ a: "Alpha", b: "Bravo", c: "Charlie", });
It should pass if the value passed to enforce is a value in the passed object.
To start:
The text was updated successfully, but these errors were encountered:
I’ll take that :)
Sorry, something went wrong.
Awesome. Let me know if you have any questions.
@ealush is something wrong with my PR? #760
Maybe @ealush didn't notice this PR is connected to that issue. @ealush his PR looks fine. I would maybe add some more tests cases, but that's all.
Thanks @davidmeirlevy, yeah, it seems that you both reacted to this issue at the same time, @saard through a PR and you here. No worries.
davidmeirlevy
No branches or pull requests
Add a new rule that checks whether a value is a value in an object.
It should pass if the value passed to enforce is a value in the passed object.
To start:
The text was updated successfully, but these errors were encountered: