I have an array of date, how can i write a filter to check if my array contains a date greater or smaller than a given date.
my array:
“departure_dates”: [
“2019-09-22”,
“2019-07-17”
]
I have an array of date, how can i write a filter to check if my array contains a date greater or smaller than a given date.
my array:
“departure_dates”: [
“2019-09-22”,
“2019-07-17”
]