Global/TypeID
From Garry's Mod
(Difference between revisions)
Line 2: | Line 2: | ||
|Name=TypeID | |Name=TypeID | ||
|Parent=Global | |Parent=Global | ||
− | |Description=Gets the associated type | + | |Description=Gets the associated type ID of the variable. |
|Realm=Shared | |Realm=Shared | ||
|IsClass=No | |IsClass=No | ||
Line 9: | Line 9: | ||
|type=any | |type=any | ||
|name=variable | |name=variable | ||
− | |desc=The variable to get the type | + | |desc=The variable to get the type ID of. |
+ | }} | ||
+ | {{Ret | ||
+ | |type=number | ||
+ | |desc=The type ID of the variable. See the {{Enum|TYPE}}. | ||
}} | }} |
Revision as of 11:59, 13 May 2014
Description
Gets the associated type ID of the variable.
Arguments
any variable
The variable to get the type ID of.
Returns
The type ID of the variable. See the TYPE_ Enums.