API Docs for:
Show:

flavors.java.Formatter.util Class

Module: flavors
Parent Module: pat

Utility functions.

Item Index

Methods

Methods

spacePad

(
  • array
  • width
  • [prepend
)
Formatter.util static chainable

Appends or prepends spaces to the given array until it has the given length.

Parameters:

  • array Array
  • width Number

    Resulting width of the given array

  • [prepend Boolean

    = false] Whether to append or prepend to the given array

Returns: