isPrimitiveNumber

Returns true when this type is one of the following (nullable) types: Byte, Short, Int, Long, Float, or Double.