wrapTerminalText
function exported by @mwillbanks/tuil-core.
function
Public function exported by @mwillbanks/tuil-core.
export function wrapTerminalText(
value: string,
columns: number,
): readonly string[];Members
This declaration has no public members.
Parameters
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
value | string | Yes | Supplies the value value as string. | — |
columns | number | Yes | Supplies the columns value as number. | — |
Returns
readonly string[] — Returns a value that satisfies readonly string[].
Related types: —
Throws
No thrown errors are documented for this declaration.
Related types
No package-local related types.
Source
View the secondary source reference