tuil
ReferencePackages@mwillbanks/tuil-coreAPI

truncateTerminalText

function exported by @mwillbanks/tuil-core.

View rawEdit

function

Public function exported by @mwillbanks/tuil-core.

export function truncateTerminalText(value: string, columns: number): string;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
valuestringYesSupplies the value value as string.
columnsnumberYesSupplies the columns value as number.

Returns

string — Returns a value that satisfies string.

Related types: —

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-core

On this page