fp-filters - v0.5.3
    Preparing search index...

    Variable isPastDateConst

    isPastDate: (comparisonDate: Date) => (date: Date) => boolean = ...

    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')));
    

    Type declaration

      • (comparisonDate: Date): (date: Date) => boolean
      • Parameters

        • comparisonDate: Date

        Returns (date: Date) => boolean