Explorar o código

Clarify what a string being empty means

Should close https://github.com/godotengine/godot-docs/issues/2432
Meriipu %!s(int64=5) %!d(string=hai) anos
pai
achega
2643b8fa5e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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">