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
contains
const arr = [1, 2, 3]! assert arr.contains(3) == true assert arr.contains(4) == false
same that dynamic arrays
No response
V 0.4.4
all
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote. Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered:
You already can do it via in operator.
in
fn main() { a := [1,2,3]! if 2 in a { dump(a) } }
Sorry, something went wrong.
No branches or pull requests
Describe the feature
Use Case
same that dynamic arrays
Proposed Solution
No response
Other Information
No response
Acknowledgements
Version used
V 0.4.4
Environment details (OS name and version, etc.)
all
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: