Skip to content

Commit

Permalink
Merge pull request #1572 from dnalborczyk/patch-1
Browse files Browse the repository at this point in the history
just a doc nit
  • Loading branch information
Marsup committed Aug 22, 2018
2 parents da70a73 + 73f3efd commit a496210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Expand Up @@ -1862,7 +1862,7 @@ schema.validate('12345', (err, value) => { });

#### `string.insensitive()`

Allows the value to match any whitelist of blacklist item in a case insensitive comparison.
Allows the value to match any whitelist or blacklist item in a case insensitive comparison.

```js
const schema = Joi.string().valid('a').insensitive();
Expand Down

0 comments on commit a496210

Please sign in to comment.