Global/TypeID

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Changed return type to number)
Line 1: Line 1:
{{Function
+
{{Func
| Name = TypeID
+
|Name=TypeID
| Namespace = [[Global]]
+
|Parent=Global
| Realm = Shared
+
|Description=Gets the associated type id of the variable.
 +
|Realm=Shared
 +
|IsClass=No
 
}}
 
}}
 
+
{{Arg
{{Syntax
+
|type=any
| Name = TypeID
+
|name=variable
| Description = Gets the associated type id of the variable.
+
|desc=The variable to get the type id of.
| Returns = {{Return|number|type id of the variable, see {{EnumLink|TYPE}}}}
+
 
+
| Arg1Name = variable
+
| Arg1Type = any
+
| Arg1Req = true
+
| Arg1Desc = The variable to get the type id of.
+
 
}}
 
}}
 
==See Also==
 
* {{GlobalFunction|type}}
 

Revision as of 16:24, 26 February 2013

 TypeID( )

Description

Gets the associated type id of the variable.

Arguments

any variable

The variable to get the type id of.
Personal tools
Navigation