Global

Methods

countConsonants(word, repetitions) → {number}

Source:
Gets amount of CONSONANTS in a string.
Parameters:
Name Type Default Description
word string A word.
repetitions boolean true Optional. Consider repetitions of chars.
Returns:
Amount of consonants.
Type
number

countNumbers(word, repetitions) → {number}

Source:
Gets amount of NUMBERS in a string.
Parameters:
Name Type Default Description
word string A word.
repetitions boolean true Optional. Consider repetitions of chars.
Returns:
Amount of numbers.
Type
number

countVowels(word, repetitions) → {number}

Source:
Tutorials:
  • Tutorial: tutorial3
Gets amount of VOWELS in a string.
Parameters:
Name Type Default Description
word string A word.
repetitions boolean true Optional. Consider repetitions of chars.
Returns:
Amount of vowels.
Type
number