BUPKIS
    Preparing search index...

    Variable beforeAssertionConst

    beforeAssertion: AssertionFunctionSync<
        readonly [
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
            "to be before",
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
        ],
        (
            subject: string | number | Date,
            other: 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 before">,
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
        ],
    > = ...

    Asserts that the subject is before another date.

    expect(new Date('2022-01-01'), 'to be before', new Date('2023-01-01')); // passes
    expect(new Date('2023-01-01'), 'to be before', new Date('2022-01-01')); // fails
    expect('2022-01-01', 'to be before', '2023-01-01'); // passes

    date-like-to-be-before-date-like

    date