Namespace fiveui.word
Defined in: prelude.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Utilities for word-specific processing. |
Method Attributes | Method Name and Description |
---|---|
<static> |
fiveui.word.allCaps(word)
Check to see if a sting consists entirely of capital letters. |
<static> |
fiveui.word.capitalized(word)
Check to see if a sting begins with a capital letter. |
Namespace Detail
fiveui.word
Utilities for word-specific processing.
The fiveui.word namespace focuses on tools for working directly with words in the sense of natural languages, rather than general strings (as is the case for the fiveui.string namespace).
Method Detail
<static>
{!boolean}
fiveui.word.allCaps(word)
Check to see if a sting consists entirely of capital letters.
- Parameters:
- {!string} word
- The string to check for capitalization.
- Returns:
- {!boolean}
<static>
{!boolean}
fiveui.word.capitalized(word)
Check to see if a sting begins with a capital letter.
- Parameters:
- {!string} word
- The string to check for capitalization.
- Returns:
- {!boolean}