datafusion_expr::type_coercion

Function is_datetime

Source
pub fn is_datetime(dt: &DataType) -> bool
Expand description

Determine whether the given data type dt is a Date or Timestamp.