From 755c70b871c659df2d7c3a003593f38775dd7b5d Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Sun, 14 Mar 2021 07:21:32 +0000 Subject: Rename Array.invert() to Array.reverse() Does the same internally for List and Vector<>, which includes all PackedArray types. --- core/variant/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/variant/array.h') 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; -- cgit v1.2.3