tuil
ReferencePackages@mwillbanks/tuil-coreAPI

sliceTerminalText

function exported by @mwillbanks/tuil-core.

View rawEdit

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

MemberTypeRequiredDescriptionRelated types
valuestringYesSupplies the value value as string.
startColumnnumberYesSupplies the startColumn value as number.
columnsunknownNoSupplies the columns value as unknown.

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