BUPKIS
    Preparing search index...

    Variable mapHasKeyExhaustivelySatisfyingAssertionConst Function

    mapHasKeyExhaustivelySatisfyingAssertion: AssertionFunctionSync<
        readonly [
            ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>,
            readonly [
                "to have a key exhaustively satisfying",
                "to have key exhaustively satisfying",
                "to have a prop exhaustively satisfying",
                "to have prop exhaustively satisfying",
                "to have a property exhaustively satisfying",
                "to have property exhaustively satisfying",
                "to have a field exhaustively satisfying",
                "to have field exhaustively satisfying",
            ],
            ZodUnknown,
        ],
        (
            subject: Map<unknown, unknown>,
            expected: unknown,
        ) => { message: string } | undefined,
        readonly [
            ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>,
            PhraseLiteralChoiceSlot<
                readonly [
                    "to have a key exhaustively satisfying",
                    "to have key exhaustively satisfying",
                    "to have a prop exhaustively satisfying",
                    "to have prop exhaustively satisfying",
                    "to have a property exhaustively satisfying",
                    "to have property exhaustively satisfying",
                    "to have a field exhaustively satisfying",
                    "to have field exhaustively satisfying",
                ],
            >,
            ZodUnknown,
        ],
    > = ...

    Asserts that at least one key in a Map exhaustively matches the expected value.

    Uses strict deep-equality semantics. Fails on empty Maps.

    const map = new Map([
    [{ id: 1 }, 'a'],
    [{ id: 2 }, 'b'],
    ]);
    expect(map, 'to have a key exhaustively satisfying', { id: 1 }); // passes
    expect(map, 'to have a prop exhaustively satisfying', { id: 1 }); // alias
    expect(map, 'to have a field exhaustively satisfying', { id: 2 }); // alias

    map-to-have-a-key-exhaustively-satisfying-any

    collections