Jelajahi Sumber

Merge pull request #28681 from lopho/dict-doc

Document dictionary erase return value
Max Hilbrunner 6 tahun lalu
induk
melakukan
f935c1ff9a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      doc/classes/Dictionary.xml

+ 1 - 1
doc/classes/Dictionary.xml

@@ -47,7 +47,7 @@
 			<argument index="0" name="key" type="Variant">
 			</argument>
 			<description>
-				Erase a dictionary key/value pair by key. Do 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. Do not erase elements while iterating over the dictionary.
 			</description>
 		</method>
 		<method name="get">