BUPKIS
    Preparing search index...

    Variable betweenAssertionConst

    betweenAssertion: AssertionFunctionSync<
        readonly [
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
            "to be between",
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
            "and",
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
        ],
        (
            subject: string | number | Date,
            start: string | number | Date,
            end: string | number | Date,
        ) =>
            | { message: string; schema?: undefined; subject?: undefined }
            | { message?: undefined; schema: ZodDate; subject: Date },
        readonly [
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
            PhraseLiteralSlot<"to be between">,
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
            PhraseLiteralSlot<"and">,
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
        ],
    > = ...

    Asserts that the subject is between two dates (inclusive).

    expect(
    new Date('2022-06-01'),
    'to be between',
    new Date('2022-01-01'),
    new Date('2022-12-31'),
    ); // passes
    expect(
    new Date('2023-01-01'),
    'to be between',
    new Date('2022-01-01'),
    new Date('2022-12-31'),
    ); // fails

    date-like-to-be-between-date-like-and-date-like

    date