See that? IndexOf () finds the first occurrence of a value and returns its index in the list. If the value isn't in the list, the method returns -1.
IndexOf ()
-1
Maybe it's a method we've also used with strings?