UtilitiesModule.Function.truncateString - typedoc2md/typedoc-plugin-markdown-examples GitHub Wiki
github-wiki-example / UtilitiesModule / truncateString
Function: truncateString()
truncateString(
input,maxLength):string
Function to truncate a string to a specified length.
Parameters
| Parameter | Type | Description |
|---|---|---|
input |
string |
The input string. |
maxLength |
number |
The maximum length of the truncated string. |
Returns
string
The truncated string.
Source
utilities.ts:53