vec.dimension( vector1 as vec.vector ) as Number
Returns the dimension of the vector passed in.
vec.dimension(vec.vector([3.14, 1.59, 2.65])) => 3