bupkis
    Preparing search index...

    Variable StrongSetSchemaConst

    StrongSetSchema: z.ZodCustom<Set<unknown>, Set<unknown>> = ...

    A Zod schema that validates Set instances excluding WeakSet instances.

    This schema ensures that the validated value is a Set and specifically excludes WeakSet instances through refinement validation. This is useful when you need to ensure you're working with a regular Set that allows iteration and enumeration of values, unlike WeakSets which are not enumerable.

    The schema is registered in the BupkisRegistry with the name StrongSetSchema for later reference and type checking purposes.

    const validSet = new Set([1, 2, 3]);
    StrongSetSchema.parse(validSet); // ✓ Valid

    const weakSet = new WeakSet();
    StrongSetSchema.parse(weakSet); // ✗ Throws validation error