Rawget: Difference between revisions
From GiderosMobile
m Text replacement - "</source>" to "</syntaxhighlight>" |
No edit summary |
||
| Line 15: | Line 15: | ||
=== Return values === | === Return values === | ||
'''Returns''' (any) value from the table<br/> | '''Returns''' (any) value from the table<br/> | ||
=== See also === | |||
'''https://luau.org/library#global-functions'''<br/> | |||
{{(global)}} | {{(global)}} | ||
Latest revision as of 10:23, 21 July 2025
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
See also
https://luau.org/library#global-functions