BUPKIS
    Preparing search index...

    Variable functionArityAssertionConst

    functionArityAssertion: AssertionFunctionSync<
        readonly [
            ZodCustom<
                (...args: unknown[] | readonly unknown[]) => unknown,
                (...args: unknown[] | readonly unknown[]) => unknown,
            >,
            "to have arity",
            ZodInt,
        ],
        (
            subject: (...args: unknown[] | readonly unknown[]) => unknown,
            expectedArity: number,
        ) => { actual: number; expected: number; message: string } | undefined,
        readonly [
            ZodCustom<
                (...args: unknown[] | readonly unknown[]) => unknown,
                (...args: unknown[] | readonly unknown[]) => unknown,
            >,
            PhraseLiteralSlot<"to have arity">,
            ZodInt,
        ],
    > = ...

    Assertion for testing if a function has a specific arity (number of parameters).

    expect((a, b) => a + b, 'to have arity', 2); // passes
    expect((a, b, c) => a + b + c, 'to have arity', 2); // fails