• Parameters

    • value: unknown

      The value to validate.

    • maximum: undefined | null | string | number | Date | Dayjs

      The maximum allowed value.

    • Optionaloptions: { allow_invalid?: boolean; granularity?: OpUnitType; inclusive?: boolean }

      Additional options (see MaxDayjs).

    Returns value is Dayjs