G.IsVector
From GMod Wiki
| Function | |
| Syntax | IsVector( Variable ) Where is this used? | 
| Description: | |
| Tests if the given argument is a vector or not | |
| Returns: | Boolean | 
| Part of Library: | Global Functions | 
| Realm: |  | 
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.IsVector]G.IsVector [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Example
| Description | Tests if the given argument is a vector or not | 
|---|---|
| Used on |  | 
| Code | local a = "test"; local b = Vector( 0, 0, 100 ); // test print( IsVector( a ), IsVector( b ) ); | 
| Output | Boolean false/true | 
 
			
			