determine the variable type,type(v)