isDate function

bool isDate(
  1. String s
)

Checks if the string is a valid date.

Implementation

bool isDate(String s) => Patterns.date.hasMatch(s);