Update readme.md

Co-authored-by: Pedro Augusto de Paula Barbosa <papb1996@gmail.com>
This commit is contained in:
Arnovsky 2020-07-20 00:12:15 +03:00 committed by GitHub
parent 25aa30398a
commit 449823168b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,9 +93,9 @@ Note: `is.number(NaN)` returns `false`. This intentionally deviates from `typeof
#### Built-in types
##### .array(value, assertion)
##### .array(value, assertion?)
Returns true if `value` is an array and all of it's items match the assertion.
Returns true if `value` is an array and all of its items match the assertion (if provided).
```js
is.array(value) // validate `value` is an array