Thanks to visit codestin.com Credit goes to docs.rs
pub fn is_interval(dt: &DataType) -> bool
Determine whether the given data type ‘dt’ is a Interval.
Interval