isPast function

bool isPast(
  1. String str
)

Returns true if str represents a date in the past.

Implementation

bool isPast(String str) => isBefore(str);