diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-03-14 07:21:32 +0000 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-03-21 10:20:08 +0000 |
commit | 755c70b871c659df2d7c3a003593f38775dd7b5d (patch) | |
tree | 9196b3da289e7ffc27e321ce6c4d2f97e0af7c95 /core/variant/array.h | |
parent | 07f076fa4f2896415993bb8e3fb42128423de0d2 (diff) |
Rename Array.invert() to Array.reverse()
Does the same internally for List and Vector<>, which includes all
PackedArray types.
Diffstat (limited to 'core/variant/array.h')
-rw-r--r-- | core/variant/array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/array.h b/core/variant/array.h index d8f2402330..9fa7751349 100644 --- a/core/variant/array.h +++ b/core/variant/array.h @@ -83,7 +83,7 @@ public: void shuffle(); int bsearch(const Variant &p_value, bool p_before = true); int bsearch_custom(const Variant &p_value, Callable p_callable, bool p_before = true); - void invert(); + void reverse(); int find(const Variant &p_value, int p_from = 0) const; int rfind(const Variant &p_value, int p_from = -1) const; |