indexOf

fun indexOf(element: Vector2I): Int

Returns first index of element, or -1 if the array does not contain element.