BUPKIS
    Preparing search index...

    Variable collectionHasValueExhaustivelySatisfyingAssertionConst Function

    collectionHasValueExhaustivelySatisfyingAssertion: AssertionFunctionSync<
        readonly [
            ZodUnion<
                readonly [
                    ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>,
                    ZodCustom<Set<unknown>, Set<unknown>>,
                    ZodArray<ZodUnknown>,
                ],
            >,
            readonly [
                "to have a value exhaustively satisfying",
                "to have value exhaustively satisfying",
            ],
            ZodUnknown,
        ],
        (
            subject: unknown[] | Map<unknown, unknown> | Set<unknown>,
            expected: unknown,
        ) => { message: string } | undefined,
        readonly [
            ZodUnion<
                readonly [
                    ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>,
                    ZodCustom<Set<unknown>, Set<unknown>>,
                    ZodArray<ZodUnknown>,
                ],
            >,
            PhraseLiteralChoiceSlot<
                readonly [
                    "to have a value exhaustively satisfying",
                    "to have value exhaustively satisfying",
                ],
            >,
            ZodUnknown,
        ],
    > = ...

    Asserts that at least one value in a Map, Set, or Array exhaustively matches the expected value.

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

    expect(
    [{ a: 1 }, { a: 1, b: 2 }],
    'to have a value exhaustively satisfying',
    {
    a: 1,
    },
    ); // passes — first element matches exactly
    expect([{ a: 1, b: 2 }], 'to have a value exhaustively satisfying', {
    a: 1,
    }); // fails — extra property b

    collection-to-have-a-value-exhaustively-satisfying-any

    collections