BUPKIS
    Preparing search index...

    Variable mapKeysExhaustivelySatisfyAssertionConst Function

    mapKeysExhaustivelySatisfyAssertion: AssertionFunctionSync<
        readonly [
            ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>,
            readonly [
                "to have keys exhaustively satisfying",
                "to have props exhaustively satisfying",
                "to have properties exhaustively satisfying",
                "to have fields exhaustively satisfying",
            ],
            ZodUnknown,
        ],
        (
            subject: Map<unknown, unknown>,
            expected: unknown,
        ) => { message: string } | undefined,
        readonly [
            ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>,
            PhraseLiteralChoiceSlot<
                readonly [
                    "to have keys exhaustively satisfying",
                    "to have props exhaustively satisfying",
                    "to have properties exhaustively satisfying",
                    "to have fields exhaustively satisfying",
                ],
            >,
            ZodUnknown,
        ],
    > = ...

    Asserts that ALL keys in a Map individually match with deep equality.

    Uses strict deep-equality semantics — every key must exactly match. Empty Maps pass vacuously.

    const map = new Map([
    [{ id: 1 }, 'a'],
    [{ id: 2 }, 'b'],
    ]);
    expect(map, 'to have keys exhaustively satisfying', { id: z.number() }); // fails — extra strict
    expect(map, 'to have props exhaustively satisfying', { id: z.number() }); // alias
    expect(map, 'to have fields exhaustively satisfying', {
    id: z.number(),
    }); // alias

    map-to-have-keys-exhaustively-satisfying-any

    collections