Skip to content

Commit

Permalink
Update API.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Aug 21, 2018
1 parent da70a73 commit 73f3efd
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 73f3efd

Please sign in to comment.