implemented new builtin-function: ValType()