Home > @websublime/schema > DateSchemaType > min
DateSchemaType.min() method
Test if date is equal or greater than minimum date
Signature:
min(min: string | Date, errorMessage?: string): this;
Parameters
Parameter | Type | Description |
---|---|---|
min | string | Date | Minimum date |
errorMessage | string | Error message |
Returns:
this