• Returns whether the date is yesterday

    Parameters

    • Optionaldate: Date

      the date to check

    Returns boolean

    whether the date is yesterday