• 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).

      • Optionalallow_invalid?: boolean
      • Optionalgranularity?: OpUnitType
      • Optionalinclusive?: boolean

    Returns value is Dayjs