From 7eb1a649f94dccc3383e6a81cbd8d7f363db2c08 Mon Sep 17 00:00:00 2001 From: Michele Sessa Date: Wed, 19 Apr 2023 10:07:47 +0100 Subject: [PATCH] docs(using-filter): add clarity to filter1DistinctVowel --- subjects/using-filter/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/using-filter/README.md b/subjects/using-filter/README.md index 9e162db7..1773df20 100644 --- a/subjects/using-filter/README.md +++ b/subjects/using-filter/README.md @@ -12,7 +12,7 @@ Create the following functions: - `filter5Vowels`: accepts an array of strings, and returns only those which contain at least 5 of any vowels (a,e,i,o,u). -- `filter1DistinctVowel`: accepts an array of strings, and returns only those which contain distinct vowels (a,e,i,o,u). For example, `"Alabama"` contains only 1 distinct vowel `"a"`. +- `filter1DistinctVowel`: accepts an array of strings, and returns only those which contain only one distinct vowel (a,e,i,o,u). For example, `"Alabama"` contains only 1 distinct vowel `"a"`. - `multiFilter`: accepts an array of objects, and returns only those which: - the key `capital` contains at least 8 characters.