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

✨ string.in(list of strings) #2958

Merged
merged 1 commit into from
Jan 6, 2024
Merged

✨ string.in(list of strings) #2958

merged 1 commit into from
Jan 6, 2024

Conversation

arlimus
Copy link
Member

@arlimus arlimus commented Jan 6, 2024

Support the inverse of list.contains(string) by adding support for string.in(list). This makes queries much more flexible. Example:

"hi".in(["a","hi","b"])

Support the inverse of `list.contains(string)` by adding support for `string.in(list)`. This makes queries much more flexible. Example:

```coffee
hi.in([a,hi,b])
```

Signed-off-by: Dominik Richter <[email protected]>
Copy link
Contributor

@scottford-io scottford-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @arlimus !

Thanks

@scottford-io scottford-io merged commit db91d3c into main Jan 6, 2024
10 checks passed
@scottford-io scottford-io deleted the dom/string.in branch January 6, 2024 20:58
@github-actions github-actions bot locked and limited conversation to collaborators Jan 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants