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: ...

7 Answers
7

Leave a Reply

Your email address will not be published. Required fields are marked *