isDateTime function
Returns a IValidator that checks if the given value is a DateTime
For better performance and readability, use the $isDateTime variable directly.
Implementation
IValidator isDateTime() => isType<DateTime>();
Returns a IValidator that checks if the given value is a DateTime
For better performance and readability, use the $isDateTime variable directly.
IValidator isDateTime() => isType<DateTime>();