From bdd030b210da46e0bf7bd98fec4afff6197d6493 Mon Sep 17 00:00:00 2001 From: Sean Morris <640101+seanmorris@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:32:48 -0400 Subject: [PATCH] Style. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.