Difference between revisions of "Table.isfrozen"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2022.3<br/> '''Class:''' table<br/> === Description === This function returns true if the given table is frozen and false if it i...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
This function returns true if the given table is frozen and false if it isn't frozen. You can freeze tables using table.freeze().
 
This function returns true if the given table is frozen and false if it isn't frozen. You can freeze tables using table.freeze().
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(boolean) = table.isfrozen(t)
 
(boolean) = table.isfrozen(t)
 
</source>
 
</source>

Revision as of 15:31, 13 July 2023

Available since: Gideros 2022.3
Class: table

Description

This function returns true if the given table is frozen and false if it isn't frozen. You can freeze tables using table.freeze(). <syntaxhighlight lang="lua"> (boolean) = table.isfrozen(t) </source>

Parameters

t: (table) the table to check

Return values

Returns (boolean) whether the table is frozen from table.freeze()