Members
(inner) characters
Remove any currently repeating characters, as they will through us off count.
Methods
(inner) ensureRepeatingCharacters(string, options) → {string}
Ensures a string contains repeating characters.
Parameters:
Name | Type | Description |
---|---|---|
string | string | The string to ensure contains repeating characters. |
options | ensureRepeatingCharacterOptions | An object defining how to repeat the characters in the string. If none of the matching attributes are passed with this object, the string will be returned unmodified. |
Requires:
Returns:
A string with the desired repeating character requirements.
- Type
- string