G.type
From GMod Wiki
Revision as of 20:31, 17 September 2011 by TheFreeman193  (Talk | contribs)
				
			| Function | |
| Syntax | type( Var  Variable ) Where is this used? | 
| Description: | |
| This function returns the type of the given argument. | |
| Returns: | String | 
| Part of Library: | Global Functions | 
| Realm: |  | 
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.type]G.type [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Examples
| Description | Prints the type of the given argument. | 
|---|---|
| Used on |  | 
| Code | print(type({"one","two"})) | 
| Output | Prints 'table' to the console. | 
 
			
			