dropLastWhile

inline fun dropLastWhile(predicate: (Vector2I) -> Boolean): List<Vector2I>

Returns a list containing all elements except last elements that satisfy the given predicate.