is/is_before library

Functions

isBefore(String? str, [String? date]) bool
check if the string is a date that's before the specified date