浏览代码

Merge pull request #39778 from Meriipu/patch-1

Clarify what a string being empty means
Rémi Verschelde 5 年之前
父节点
当前提交
05395cb14f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/String.xml

+ 1 - 1
doc/classes/String.xml

@@ -381,7 +381,7 @@
 			<return type="bool">
 			</return>
 			<description>
-				Returns [code]true[/code] if the string is empty.
+				Returns [code]true[/code] if the length of the string equals [code]0[/code].
 			</description>
 		</method>
 		<method name="ends_with">