BUPKIS
    Preparing search index...

    Variable sameDateAssertionConst

    sameDateAssertion: AssertionFunctionSync<
        readonly [
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
            "to be the same date as",
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
        ],
        (
            subject: string | number | Date,
            other: string | number | Date,
        ) =>
            | { actual?: undefined; expected?: undefined; message: string }
            | { actual: string; expected: string; message: string }
            | undefined,
        readonly [
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
            PhraseLiteralSlot<"to be the same date as">,
            ZodUnion<
                readonly [
                    ZodDate,
                    ZodUnion<readonly [ZodISODateTime, ZodISODate]>,
                    ZodNumber,
                ],
            >,
        ],
    > = ...

    Asserts that the subject is the same date as another (ignoring time).

    expect(
    new Date('2023-01-01T10:00:00'),
    'to be the same date as',
    new Date('2023-01-01T15:30:00'),
    ); // passes
    expect(
    new Date('2023-01-01'),
    'to be the same date as',
    new Date('2023-01-02'),
    ); // fails

    date-like-to-be-the-same-date-as-date-like

    date