Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Formatter

Java Formatter class polyfill that works in the JS way.

Hierarchy

  • Formatter

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

buffer

buffer: string

The internal formatted value.

Methods

format

  • format(append: string, ...args: any): void
  • Parameters

    • append: string

      The new string to append.

    • Rest ...args: any

      Argumets values to be formated.

    Returns void

toString

  • toString(): string

Static Private form

  • form(str: string, arr: any[]): string

Generated using TypeDoc