Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Apr 24, 2023
1 parent 719facb commit 3b0f471
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,10 @@ actually used by the user supplied matchers.

Validates an expression against a given schema.

**params:**
Returns `true` when the expression is valid.

- *expr*: The expression to validate.
- *schema*: The schema to validate against.

**returns:**

Returns `ok` when valid. If an error occurred, `false` and a string describing the error will be returned.
If the expression is invalid,
`nil` and a string describing the reason will be returned.

[Back to TOC](#table-of-contents)

Expand Down

0 comments on commit 3b0f471

Please sign in to comment.