A Zod schema that validates JavaScript property keys.
This schema validates values that can be used as object property keys in
JavaScript, which includes strings, numbers, and symbols. These are the three
types that JavaScript automatically converts to property keys when used in
object access or assignment operations.
A Zod schema that validates JavaScript property keys.
This schema validates values that can be used as object property keys in JavaScript, which includes strings, numbers, and symbols. These are the three types that JavaScript automatically converts to property keys when used in object access or assignment operations.