Rename Array.invert() to Array.reverse()
Does the same internally for List and Vector<>, which includes all PackedArray types.
This commit is contained in:
parent
07f076fa4f
commit
755c70b871
35 changed files with 57 additions and 57 deletions
|
|
@ -445,8 +445,8 @@ int Array::bsearch_custom(const Variant &p_value, Callable p_callable, bool p_be
|
|||
return bisect(_p->array, p_value, p_before, less);
|
||||
}
|
||||
|
||||
void Array::invert() {
|
||||
_p->array.invert();
|
||||
void Array::reverse() {
|
||||
_p->array.reverse();
|
||||
}
|
||||
|
||||
void Array::push_front(const Variant &p_value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue