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.
Remarks
The schema is registered in the BupkisRegistry with the name
StrongSetSchema for later reference and type checking purposes.
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.