diff options
author | George Marques <george@gmarqu.es> | 2016-06-10 17:28:09 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2016-06-10 17:46:57 -0300 |
commit | 46b6bb9dc49a7b187a7bf6e19e5da732a5656e19 (patch) | |
tree | e45c195c9c4d3d77ccd3305e869696d361eff391 /core/array.h | |
parent | 269d5704202d29d1f367abfb2df44fa19997fd18 (diff) | |
download | redot-engine-46b6bb9dc49a7b187a7bf6e19e5da732a5656e19.tar.gz |
Add 'rfind' function to Array
Diffstat (limited to 'core/array.h')
-rw-r--r-- | core/array.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/array.h b/core/array.h index 4fb22a4dcc..096660653e 100644 --- a/core/array.h +++ b/core/array.h @@ -72,6 +72,7 @@ public: void invert(); int find(const Variant& p_value, int p_from=0) const; + int rfind(const Variant& p_value, int p_from=-1) const; int find_last(const Variant& p_value) const; int count(const Variant& p_value) const; |