Returns [code]true[/code] if the array is read-only. See [method set_read_only]. Arrays are automatically read-only if declared with [code]const[/code] keyword.
Returns [code]true[/code] if the array is read-only. See [method make_read_only]. Arrays are automatically read-only if declared with [code]const[/code] keyword.
</description>
</method>
<methodname="is_typed"qualifiers="const">
@ -401,6 +401,12 @@
Returns [code]true[/code] if the array is typed. Typed arrays can only store elements of their associated type and provide type safety for the [code][][/code] operator. Methods of typed array still return [Variant].
</description>
</method>
<methodname="make_read_only">
<returntype="void"/>
<description>
Makes the array read-only, i.e. disabled modifying of the array's elements. Does not apply to nested content, e.g. content of nested arrays.
</description>
</method>
<methodname="map"qualifiers="const">
<returntype="Array"/>
<paramindex="0"name="method"type="Callable"/>
@ -524,13 +530,6 @@
Searches the array in reverse order. Optionally, a start search index can be passed. If negative, the start index is considered relative to the end of the array.
</description>
</method>
<methodname="set_read_only">
<returntype="void"/>
<paramindex="0"name="enable"type="bool"/>
<description>
Makes the [Array] read-only, i.e. disabled modifying of the array's elements. Does not apply to nested content, e.g. content of nested arrays.
Returns [code]true[/code] if the dictionary is empty (its size is [code]0[/code]). See also [method size].
</description>
</method>
<methodname="is_read_only"qualifiers="const">
<returntype="bool"/>
<description>
Returns [code]true[/code] if the dictionary is read-only. See [method make_read_only]. Dictionaries are automatically read-only if declared with [code]const[/code] keyword.
</description>
</method>
<methodname="keys"qualifiers="const">
<returntype="Array"/>
<description>
Returns the list of keys in the dictionary.
</description>
</method>
<methodname="make_read_only">
<returntype="void"/>
<description>
Makes the dictionary read-only, i.e. disabled modifying of the dictionary's contents. Does not apply to nested content, e.g. content of nested dicitonaries.