Global/TypeID

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
|Name=TypeID
 
|Name=TypeID
 
|Parent=Global
 
|Parent=Global
|Description=Gets the associated type id of the variable.
+
|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 id of.
+
|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

 TypeID( )

Description

Gets the associated type ID of the variable.

Arguments

any variable

The variable to get the type ID of.

Returns

number

The type ID of the variable. See the TYPE_ Enums.
Personal tools
Navigation