Merge pull request #53228 from timothyqiu/dict-erase
This commit is contained in:
commit
f91afeb75d
@ -213,7 +213,8 @@
|
|||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<argument index="0" name="key" type="Variant" />
|
<argument index="0" name="key" type="Variant" />
|
||||||
<description>
|
<description>
|
||||||
Erase a dictionary key/value pair by key. Returns [code]true[/code] if the given key was present in the dictionary, [code]false[/code] otherwise. Does not erase elements while iterating over the dictionary.
|
Erase a dictionary key/value pair by key. Returns [code]true[/code] if the given key was present in the dictionary, [code]false[/code] otherwise.
|
||||||
|
[b]Note:[/b] Don't erase elements while iterating over the dictionary. You can iterate over the [method keys] array instead.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get" qualifiers="const">
|
<method name="get" qualifiers="const">
|
||||||
|
Loading…
Reference in New Issue
Block a user