- maxDayjs(
value: unknown,
maximum: undefined | null | string | number | Date | Dayjs,
options?: {
allow_invalid?: boolean;
granularity?: OpUnitType;
inclusive?: boolean;
},
): value is Dayjs Parameters
- value: unknown
- maximum: undefined | null | string | number | Date | Dayjs
Optional
options: { allow_invalid?: boolean; granularity?: OpUnitType; inclusive?: boolean }
Returns value is Dayjs
The value to validate.