A Zod schema that validates Map instances excluding WeakMap instances.
This schema ensures that the validated value is a Map and specifically
excludes WeakMap instances through refinement validation. This is useful when
you need to ensure you're working with a regular Map that allows iteration
and enumeration of keys, unlike WeakMaps which are not enumerable.
Remarks
The schema is registered in the BupkisRegistry with the name
StrongMapSchema for later reference and type checking purposes.
A Zod schema that validates Map instances excluding WeakMap instances.
This schema ensures that the validated value is a Map and specifically excludes WeakMap instances through refinement validation. This is useful when you need to ensure you're working with a regular Map that allows iteration and enumeration of keys, unlike WeakMaps which are not enumerable.