Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
andrenarchy committed Apr 28, 2021
1 parent be6ffc8 commit f78838e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ Options:
### `object(definition, options?): Validator<ObjectResult<D>>`
Returns a validator that returns a copy of `value` if it is an object and all values pass the validation as specified in `definition`, otherwise it returns an error. A new object is returned that has the results of the validator functions as values.
Returns a validator that returns `value` if it is an object and all values pass the validation as specified in `definition`, otherwise it returns an error. A new object is returned that has the results of the validator functions as values.
Options:
* `definition: ObjectDefinition`: an object where each value is a `Validator<T>`.
Expand Down

0 comments on commit f78838e

Please sign in to comment.