Skip to content

utils/schema ​

Index ​

MemberDescription
stripDefaultsThis function strips default values from a Zod object schema, returning a new schema that does not include any default values. This is useful when you want to validate data without applying defaults.