BUPKIS
    Preparing search index...

    Variable collectionSizeLessThanAssertionConst

    collectionSizeLessThanAssertion: AssertionFunctionSync<
        readonly [
            ZodUnion<
                readonly [
                    ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>,
                    ZodCustom<Set<unknown>, Set<unknown>>,
                ],
            >,
            "to have size less than",
            ZodInt,
        ],
        (
            collection: Map<unknown, unknown> | Set<unknown>,
            maxSize: number,
        ) => { actual: number; expected: number; message: string } | undefined,
        readonly [
            ZodUnion<
                readonly [
                    ZodCustom<Map<unknown, unknown>, Map<unknown, unknown>>,
                    ZodCustom<Set<unknown>, Set<unknown>>,
                ],
            >,
            PhraseLiteralSlot<"to have size less than">,
            ZodInt,
        ],
    > = ...

    Asserts that a collection (Map or Set) has a size less than a threshold.

    expect(new Set([1]), 'to have size less than', 2); // passes
    expect(new Set([1, 2, 3]), 'to have size less than', 2); // fails

    collection-to-have-size-less-than-nonnegative-integer

    collections