Schema.build.date
Creates a validation builder that accepts Date values.
date: (error?: StringConvertible) => DateBuilder;
Parameters
- error — Custom error message for type validation.
Return value
A DateBuilder.
Related
Schema.build static
An object containing functions that create Builder instances for specific types.
