Const
Higher-order function. Returns a function that returns true if the argument is a date that is the same as 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 the same as a comparison date. E.g.: