Skip to content

Added a negative membership operator, closes #411#412

Merged
odino merged 1 commit into2.5.xfrom
not-in
Mar 28, 2021
Merged

Added a negative membership operator, closes #411#412
odino merged 1 commit into2.5.xfrom
not-in

Conversation

@odino
Copy link
Copy Markdown
Collaborator

@odino odino commented Mar 28, 2021

You could previously test membership with x in [x,y,z].
To negate that expression, you had to !(x in [x,y,z]).

Now you can use !in: x !in [x,y,z].

You could previously test membership with `x in [x,y,z]`.
To negate that expression, you had to `!(x in [x,y,z])`.

Now you can use `!in`: `x !in [x,y,z]`.
@odino odino added this to the 2.5.x milestone Mar 28, 2021
@odino odino merged commit a79c833 into 2.5.x Mar 28, 2021
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.

1 participant