/// Determine if a DataType is numeric or not
Determine if a DataType is numeric or not
Determine if a DataType is numeric or not
pub fn is_numeric(dt: &DataType) -> bool {
    is_signed_numeric(dt)
        || matches!(
            dt,
            DataType::UInt8 | DataType::UInt16 | DataType::UInt32 | DataType::UInt64
        )
}
pub fn is_numeric ( dt : & DataType ) -> bool { is_signed_numeric ( dt ) || matches ! ( dt DataType UInt8 DataType UInt16 DataType UInt32 DataType UInt64 ) }
Determine if a DataType is numeric or not
Determine if a DataType is numeric or not
dt
&DataType