1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

Rename Array.invert() to Array.reverse()

Does the same internally for List and Vector<>, which includes all
PackedArray types.
This commit is contained in:
Marcel Admiraal
2021-03-14 07:21:32 +00:00
parent 07f076fa4f
commit 755c70b871
35 changed files with 57 additions and 57 deletions

View File

@@ -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) {