Const
Higher-order function. Returns a function that returns true if the argument is a date that is in the past compared to a comparison date. E.g.:
dates.filter(isPastDate(new Date('2023-10-01'))); Copy
dates.filter(isPastDate(new Date('2023-10-01')));
Higher-order function. Returns a function that returns true if the argument is a date that is in the past compared to a comparison date. E.g.: