Date
Check if the input value is a valid date.
The validation rule requires a value to run against the input value.
The passed date from the input should be a valid argument that can be passed to the Date
constructor.
Example
src/app/users/controllers/create-account.ts
// ...
createAccount.validation = {
rules: {
birthDate: ["date"],
},
};