Skip to content

Add a ContainsItem func#8

Merged
alecthomas merged 1 commit intoalecthomas:masterfrom
tamj0rd2:contains
Sep 17, 2024
Merged

Add a ContainsItem func#8
alecthomas merged 1 commit intoalecthomas:masterfrom
tamj0rd2:contains

Conversation

@tamj0rd2
Copy link
Copy Markdown
Contributor

No description provided.

@tamj0rd2
Copy link
Copy Markdown
Contributor Author

Ah, just noticed this in the readme:

Contains(t, haystack []T, needle T) - very little use, replace with

Is there anything you'd suggest instead?

@alecthomas alecthomas merged commit 9b12f17 into alecthomas:master Sep 17, 2024
@alecthomas
Copy link
Copy Markdown
Owner

Ah apologies I missed this. I merged it but will rename it to SliceContains.

@alecthomas
Copy link
Copy Markdown
Owner

Thanks!

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.

2 participants