1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-05 17:15:09 +00:00

Added max() and min() functions to array to return greater or lesser element (or null if data is not of compatible type or empty array). Closes #15697

This commit is contained in:
Juan Linietsky
2018-08-23 15:31:02 -03:00
parent df4dadafb7
commit adc0188d9f
3 changed files with 54 additions and 0 deletions

View File

@@ -90,6 +90,9 @@ public:
Array duplicate(bool p_deep = false) const;
Variant min() const;
Variant max() const;
Array(const Array &p_from);
Array();
~Array();