BUPKIS
    Preparing search index...

    Variable arraySizeAssertionConst

    arraySizeAssertion: AssertionFunctionSync<
        readonly [
            ZodArray<ZodUnknown>,
            readonly ["to have length", "to have size"],
            ZodInt,
        ],
        (_subject: unknown[], expectedSize: number) => ZodArray<ZodUnknown>,
        readonly [
            ZodArray<ZodUnknown>,
            PhraseLiteralChoiceSlot<readonly ["to have length", "to have size"]>,
            ZodInt,
        ],
    > = ...

    Asserts that an array has a specific size.

    expect([1, 2, 3], 'to have length', 3); // passes
    expect([1, 2, 3], 'to have size', 2); // fails

    array-to-have-size-nonnegative-integer

    collections