Function dateIsYesterday

  • Tests whether the given date happened yesterday.

    Parameters

    • date: Date

      The date to compare.

    Returns boolean

    true if the given date happened yesterday, false otherwise.

Generated using TypeDoc