Find element in array
in
Programming Questions
•
2 years ago
I need to detect whether an int is an element of an array. I'd rather avoid setting up a loop to compare the int to each element in the array -- is there a faster way, some method I can call?
1