DataType.isNumeric

bool isNumeric() const @safe pure nothrow

Returns

true for the integer and float kinds (not BOOLEAN).