浏览代码

Document dictionary erase return value

(cherry picked from commit 5ce9bfcb4f5d80d4c25ef13211eb58f4e569e603)
lopho 6 年之前
父节点
当前提交
d963a32213
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 index="0" name="key" type="Variant">
 			</argument>
 			</argument>
 			<description>
 			<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>
 			</description>
 		</method>
 		</method>
 		<method name="get">
 		<method name="get">