Skip to content
New issue

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

feat: or keyword #315

Merged
merged 1 commit into from
Sep 13, 2024
Merged

feat: or keyword #315

merged 1 commit into from
Sep 13, 2024

Conversation

anakrish
Copy link
Collaborator

Add or operator to Rego languages. Available via rego-extensions Cargo feature.

If the evaluated lhs value is not false, null or undefined it is returned. Otherwise rhs is evaluated and returned.

or operator has least precedence, and is left-associative.

closes #314

Add `or` operator to Rego languages. Available via `rego-extensions`
Cargo feature.

If the evaluated lhs value is not false, null or undefined it is returned.
Otherwise rhs is evaluated and returned.

or operator has least precedence, and is left-associative.

closes microsoft#314
@anakrish anakrish merged commit 7565ec3 into microsoft:main Sep 13, 2024
17 checks passed
@anakrish anakrish deleted the or branch September 13, 2024 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

or keyword
1 participant