From 449823168b4a9f7d7cb5449180384e44e79e3eae Mon Sep 17 00:00:00 2001 From: Arnovsky Date: Mon, 20 Jul 2020 00:12:15 +0300 Subject: [PATCH] Update readme.md Co-authored-by: Pedro Augusto de Paula Barbosa --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 96023c5..dd7914b 100644 --- a/readme.md +++ b/readme.md @@ -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