This schema validates objects that have been created with
Object.create(null) or otherwise have their prototype set to null. Such
objects are "plain" objects without any inherited properties or methods from
Object.prototype, making them useful as pure data containers or
dictionaries.
A Zod schema that validates plain objects with null prototypes.
This schema validates objects that have been created with
Object.create(null)or otherwise have their prototype set tonull. Such objects are "plain" objects without any inherited properties or methods fromObject.prototype, making them useful as pure data containers or dictionaries.