isPrimitiveOrMixedNumber

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

Careful: Will return true for Number. This type may arise as a supertype from multiple non-primitive number types.