The IndexOf() method returns the first index at which a given element can be found in the slice, or -1 if it is not present. - View it on GitHub
Star
7
Rank
1644219