The sxml.gettypename() viper can be used to determine the SXML datatype of a variable or function result. It can be compared to using typeof() in javascript/c# or typename() in vb/vscript.
Example
Sys Void Exampe
The void vipers always returns a void type. A void type has no effect when used within an expression.