Table.isfrozen: Difference between revisions
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>" |
||
| (One intermediate revision by the same user not shown) | |||
| 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(). | ||
< | <syntaxhighlight lang="lua"> | ||
(boolean) = table.isfrozen(t) | (boolean) = table.isfrozen(t) | ||
</ | </syntaxhighlight> | ||
=== Parameters === | === Parameters === | ||
Latest revision as of 13:33, 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().
(boolean) = table.isfrozen(t)
Parameters
t: (table) the table to check
Return values
Returns (boolean) whether the table is frozen from table.freeze()