Difference between revisions of "Rawget"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[(global)]]<br/> |
− | ''' | ||
− | === | + | === Description === |
− | + | Gets the real value of table[key], without invoking any metamethod. table must be a table, key may be any value. | |
<source lang="lua"> | <source lang="lua"> | ||
(any) = rawget(table,key) | (any) = rawget(table,key) | ||
</source> | </source> | ||
− | === | + | === Parameters === |
− | '''table''': (table) | + | '''table''': (table) table to get value from<br/> |
− | '''key''': (any) | + | '''key''': (any) key value in the table<br/> |
− | === | + | === Return values === |
− | ''' | + | '''Returns''' (any) value from the table<br/> |
{{(global)}} | {{(global)}} |
Revision as of 21:46, 13 May 2022
Available since: Gideros 2011.6
Class: (global)
Description
Gets the real value of table[key], without invoking any metamethod. table must be a table, key may be any value.
(any) = rawget(table,key)
Parameters
table: (table) table to get value from
key: (any) key value in the table
Return values
Returns (any) value from the table