浏览代码

Merge pull request #34827 from Calinou/doc-object-get-nonexistent

Document the return value of `Object.get()` with a nonexistent property
Rémi Verschelde 5 年之前
父节点
当前提交
cbb29c6b49
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/Object.xml

+ 1 - 1
doc/classes/Object.xml

@@ -203,7 +203,7 @@
 			<argument index="0" name="property" type="String">
 			</argument>
 			<description>
-				Returns the [Variant] value of the given [code]property[/code].
+				Returns the [Variant] value of the given [code]property[/code]. If the [code]property[/code] doesn't exist, this will return [code]null[/code].
 			</description>
 		</method>
 		<method name="get_class" qualifiers="const">