BUPKIS
    Preparing search index...

    Variable objectHasKeySatisfyingAssertionConst Function

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

    Asserts that at least one own enumerable string key of a non-collection object satisfies the expected shape.

    Uses partial/satisfy semantics. Fails on objects with no own enumerable string keys.

    Only considers own enumerable string keys (equivalent to Object.keys()). Symbol keys and non-enumerable keys are not checked.

    expect({ foo: 1, BAR: 2 }, 'to have a key satisfying', /^[a-z]+$/); // passes
    expect({ foo: 1 }, 'to have key satisfying', z.string()); // passes
    expect({ foo: 1 }, 'to have a prop satisfying', z.string()); // alias
    expect({ foo: 1 }, 'to have a field satisfying', z.string()); // alias

    object-to-have-a-key-satisfying-any

    object