Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Contains Method for a Slice | Better HN
Contains Method for a Slice
(stackoverflow.com)
1 points · by
Laiho
· 3y ago · 1 comment
Comments
[–]
cratermoon
3y ago
Go 1.21 will bring a new slices package with Contains and ContainsFunc
https://pkg.go.dev/slices@master#Contains