indexOf

fun indexOf(element: Vector2F): Int

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