Without iterating over the entire array, how can I check if x
in array using Go? Does the language have a construct?
Like Python: if "x" in array: ...
Without iterating over the entire array, how can I check if x
in array using Go? Does the language have a construct?
Like Python: if "x" in array: ...