StringInSlice returns true if the string is contained in the slice
(s string, slice []string)
| 33 | |
| 34 | // StringInSlice returns true if the string is contained in the slice |
| 35 | func StringInSlice(s string, slice []string) bool { |
| 36 | return slices.Contains(slice, s) |
| 37 | } |
no outgoing calls
searching dependent graphs…