Remove @GDScript.str (duplicate of @GlobalScope.str)

This commit is contained in:
Danil Alexeev
2023-01-30 14:29:07 +03:00
parent 833c0d24db
commit be4f36b87e
3 changed files with 7 additions and 36 deletions

View File

@@ -1271,7 +1271,13 @@
<method name="str" qualifiers="vararg">
<return type="String" />
<description>
Converts one or more arguments of any [Variant] type to [String] in the best way possible.
Converts one or more arguments of any [Variant] type to a [String] in the best way possible.
[codeblock]
var a = [10, 20, 30]
var b = str(a)
print(len(a)) # Prints 3 (the number of elements in the array).
print(len(b)) # Prints 12 (the length of the string "[10, 20, 30]").
[/codeblock]
</description>
</method>
<method name="str_to_var">