Check the type of variables and parametes, also user defined