diff --git a/README.md b/README.md index f5db471..279debe 100644 --- a/README.md +++ b/README.md @@ -576,6 +576,8 @@ Exclusively map values to a Group. Will drop any keys not present in the schema. #### Schema.xRecord(properties) +Exclusively map values to a Record. Will drop any keys not present in the schema. + ```javascript const companySchema = s.xRecord({ name: s.string(), @@ -594,8 +596,6 @@ const company = companySchema({ console.log({company}); ``` -Exclusively map values to a Record. Will drop any keys not present in the schema. - #### Schema.xDict(properties) Exclusively map values to a Dict. Will drop any keys not present in the schema.