RoadmapShopEvents
Skip to main content

Home > @rushstack/node-core-library > IStringBuilder

IStringBuilder interface

An interface for a builder object that allows a large text string to be constructed incrementally by appending small chunks.

Signature:
export interface IStringBuilder

Remarks

StringBuilder is the default implementation of this contract.

Methods

MethodDescription
append(text)Append the specified text to the buffer.
toString()Returns a single string containing all the text that was appended to the buffer so far.