Appearance
Function: strWords()
strWords(
value,words?,end?):string
Defined in: src/formatters.ts:254
Limit the number of words in a string.
Parameters
value
string
The string to limit
words?
number = 100
The maximum number of words
end?
string = '...'
The string to append if truncated
Returns
string
The limited string