Function check_decreasing

Source
pub fn check_decreasing(numeric_dates: &[Vec<i32>]) -> Option<bool>
Expand description

Takes an array of numeric dates and tries to understand if the days come before the month or the other way around by checking if a set of numbers during the same year decrease at some point.

If it does it’s probably the days since months can only increase in a given year.

Output is true if days are first, false if they are second, or None if it failed to understand the order.