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

    Function isSame

    • Higher-order function. Returns a predicate that compares a date with another date.

      Parameters

      • compareType: TDateEntity

        The type of entity to compare (e.g., year, month, day, etc.).

      Returns (comparisonDate: Date) => (date: Date) => boolean

      A function that takes a comparison date and returns a function that takes a date to compare.