docs(using-filter): add clarity to filter1DistinctVowel

This commit is contained in:
Michele Sessa 2023-04-19 10:07:47 +01:00 committed by Michele
parent 436ed71b8e
commit 7eb1a649f9
1 changed files with 1 additions and 1 deletions

View File

@ -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.