Update readme.md
Co-authored-by: Pedro Augusto de Paula Barbosa <papb1996@gmail.com>
This commit is contained in:
parent
25aa30398a
commit
449823168b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue