sliceTerminalText
function exported by @mwillbanks/tuil-core.
function
Public function exported by @mwillbanks/tuil-core.
export function sliceTerminalText(
value: string,
startColumn: number,
columns = Number.POSITIVE_INFINITY,
): string;Members
This declaration has no public members.
Parameters
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
value | string | Yes | Supplies the value value as string. | — |
startColumn | number | Yes | Supplies the startColumn value as number. | — |
columns | unknown | No | Supplies the columns value as unknown. | — |
Returns
string — Returns a value that satisfies 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