summaryrefslogtreecommitdiff
path: root/doc/classes/PackedStringArray.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/PackedStringArray.xml')
-rw-r--r--doc/classes/PackedStringArray.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/classes/PackedStringArray.xml b/doc/classes/PackedStringArray.xml
index c71f5ffa7e..fb7ed2a906 100644
--- a/doc/classes/PackedStringArray.xml
+++ b/doc/classes/PackedStringArray.xml
@@ -5,7 +5,6 @@
</brief_description>
<description>
An [Array] specifically designed to hold [String]s. Packs data tightly, so it saves memory for large array sizes.
- [b]Note:[/b] This type is passed by value and not by reference.
</description>
<tutorials>
<link title="OS Test Demo">https://godotengine.org/asset-library/asset/677</link>
@@ -54,11 +53,11 @@
Appends a [PackedStringArray] at the end of this array.
</description>
</method>
- <method name="empty">
- <return type="bool">
+ <method name="duplicate">
+ <return type="PackedStringArray">
</return>
<description>
- Returns [code]true[/code] if the array is empty.
+ Creates a copy of the array, and returns it.
</description>
</method>
<method name="has">
@@ -88,6 +87,13 @@
Reverses the order of the elements in the array.
</description>
</method>
+ <method name="is_empty">
+ <return type="bool">
+ </return>
+ <description>
+ Returns [code]true[/code] if the array is empty.
+ </description>
+ </method>
<method name="operator !=" qualifiers="operator">
<return type="bool">
</return>