Goスライスslices.Contains
slices.Sort

slices.Containsスライス

slices.Index

スライスにvが含まれているか確認します。(Go 1.21+)

문법

slices.Contains(s []E, v E) bool