Skip to content

Commit f900c20

Browse files
committed
Merge pull request #112261 from aaronp64/dictionary_set_doc
Explain `Dictionary.set()` return value in docs
2 parents b376a33 + 593c261 commit f900c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/Dictionary.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@
508508
<param index="0" name="key" type="Variant" />
509509
<param index="1" name="value" type="Variant" />
510510
<description>
511-
Sets the value of the element at the given [param key] to the given [param value]. This is the same as using the [code][][/code] operator ([code]dict[key] = value[/code]).
511+
Sets the value of the element at the given [param key] to the given [param value]. This is the same as using the [code][][/code] operator ([code]dict[key] = value[/code]). Returns [code]true[/code] if the value is set successfully. Fails and returns [code]false[/code] if the dictionary is read-only, or if [param key] and [param value] don't match the dictionary's types.
512512
</description>
513513
</method>
514514
<method name="size" qualifiers="const">

0 commit comments

Comments
 (0)