Garry's Mod Wiki

Revision Difference

Global.istable#567940

<function name="istable" parent="Global" type="libraryfunc"> <description>Returns if the passed object is a <page>table</page>. <note>Will return TRUE for variables of type <page>Color</page></note>⤶ <note>Will return `true` if the argument does not have a metatable. It will return `true` for variables of type <page>Color</page> as well.</note>⤶ </description> <realm>Shared and Menu</realm> <args> <arg name="variable" type="any">The variable to perform the type check for.</arg> </args> <rets> <ret name="" type="boolean">True if the variable is a <page>table</page>.</ret> </rets> </function>