BUPKIS
    Preparing search index...

    Variable setSizeAssertionConst

    setSizeAssertion: AssertionFunctionSync<
        readonly [ZodCustom<Set<unknown>, Set<unknown>>, "to have size", ZodInt],
        (_subject: Set<unknown>, expectedSize: number) => ZodSet<ZodUnknown>,
        readonly [
            ZodCustom<Set<unknown>, Set<unknown>>,
            PhraseLiteralSlot<"to have size">,
            ZodInt,
        ],
    > = ...

    Asserts that a Set has a specific size.

    const set = new Set(['a', 'b']);
    expect(set, 'to have size', 2); // passes
    expect(set, 'to have size', 3); // fails

    set-to-have-size-nonnegative-integer

    collections