summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-04-04 18:46:55 +0200
committerkobewi <kobewi4e@gmail.com>2022-05-31 21:05:56 +0200
commita0915e6dee4e54563a98ca6adb8968dbdcea1af1 (patch)
tree391fcde7f2a1fb252a3dcd7c8ae00ec259220437 /doc
parent3aa83a023591bb510ce898b68882466f59ae1ceb (diff)
Add Dictionary.merge()
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Dictionary.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/classes/Dictionary.xml b/doc/classes/Dictionary.xml
index 8ee09ba8f8..2f336ab73e 100644
--- a/doc/classes/Dictionary.xml
+++ b/doc/classes/Dictionary.xml
@@ -291,6 +291,14 @@
Returns the list of keys in the [Dictionary].
</description>
</method>
+ <method name="merge">
+ <return type="void" />
+ <argument index="0" name="dictionary" type="Dictionary" />
+ <argument index="1" name="overwrite" type="bool" default="false" />
+ <description>
+ Adds elements from [code]dictionary[/code] to this [Dictionary]. By default, duplicate keys will not be copied over, unless [code]overwrite[/code] is [code]true[/code].
+ </description>
+ </method>
<method name="size" qualifiers="const">
<return type="int" />
<description>