Instance Method

isDateInYesterday(_:)

Returns true if the given date is within yesterday, as defined by the calendar and calendar’s locale.

Declaration

func isDateInYesterday(_ date: Date) -> Bool

Parameters

date

The specified date.

Return Value

true if the given date is within yesterday.