aboutsummaryrefslogtreecommitdiff
path: root/doc/classes/Array.xml
diff options
context:
space:
mode:
authorRémi Verschelde2018-04-10 10:12:42 +0200
committerRémi Verschelde2018-04-10 10:12:42 +0200
commitcb7fe2c7936fa52fb95e6f8a8e7927a4f41030a6 (patch)
tree7d74d6ce990466284325cfe0d271081604ccdbc0 /doc/classes/Array.xml
parentcb996d716925c9c87a2a4117012fa9fed72c8f38 (diff)
downloadgodot-cb7fe2c7936fa52fb95e6f8a8e7927a4f41030a6.tar.gz
godot-cb7fe2c7936fa52fb95e6f8a8e7927a4f41030a6.tar.zst
godot-cb7fe2c7936fa52fb95e6f8a8e7927a4f41030a6.zip
doc: Sync classref with current source
Diffstat (limited to 'doc/classes/Array.xml')
-rw-r--r--doc/classes/Array.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml
index 2e2176743..5f85751c1 100644
--- a/doc/classes/Array.xml
+++ b/doc/classes/Array.xml
@@ -131,8 +131,11 @@
<method name="duplicate">
<return type="Array">
</return>
+ <argument index="0" name="deep" type="bool" default="False">
+ </argument>
<description>
- Returns a copy of this [code]Array[/code].
+ Returns a copy of the array.
+ If [code]deep[/code] is [code]true[/code], a deep copy is be performed: all nested arrays and dictionaries are duplicated and will not be shared with the original array. If [code]false[/code], a shallow copy is made and references to the original nested arrays and dictionaries are kept, so that modifying a sub-array or dictionary in the copy will also impact those referenced in the source array.
</description>
</method>
<method name="empty">