Make use of "getScalarType()". No functionality change.