Garry's Mod Wiki

isvector

  boolean isvector( any variable )

Description

Returns if the passed object is a Vector.

Arguments

1 any variable
The variable to perform the type check for.

Returns

1 boolean
True if the variable is a Vector.