class Table extends Array<T>import { Table } from "https://dotland.deno.dev/x/lume@v1.13.2/deps/cliffy.ts"; Table representation. Type ParametersoptionalT extends IRow = IRowPropertiesprivateoptionalheaderRow: Rowprotectedoptions: ITableSettingsMethodsalign(direction: Direction, override?): thisAlign table content. body(rows: T[]): thisSet table body. border(enable: boolean, override?): thisEnable/disable cell border. chars(chars: IBorderOptions): thisSet border characters. clone(): TableClone table recursively with header and options. fromJson(rows: IDataRow[]): thisRead data from an array of json objects. An object represents a row and each property a column. getAlign(): DirectionGet table alignment. getBody(): T[]Get table body. getBorder(): booleanCheck if table has border. getHeader(): Row | undefinedGet table header. getIndent(): numberGet table indentation. getMaxColWidth(): number | number[]Get mac col widrth. getMinColWidth(): number | number[]Get min col width. getPadding(): number | number[]Get cell padding. hasBodyBorder(): booleanCheck if table bordy has border. hasBorder(): booleanCheck if table header or body has border. hasHeaderBorder(): booleanCheck if header row has border. header(header: IRow): thisSet table header. indent(width: number, override?): thisSet table indentation. maxColWidth(width: number | number[], override?): thisSet max col with. minColWidth(width: number | number[], override?): thisSet min col width. padding(padding: number | number[], override?): thisSet cell padding. render(): thisWrite table to stdout. toString(): stringGenerate table string. Static Propertiesprotected_chars: IBorderStatic Methodschars(chars: IBorderOptions): TableSet global default border characters. from<T extends IRow>(rows: ITable<T>): Table<T>Create a new table. If rows is a table, all rows and options of the table will be copied to the new table. fromJson(rows: IDataRow[]): TableCreate a new table from an array of json objects. An object represents a row and each property a column. render<T extends IRow>(rows: ITable<T>): voidWrite table or rows to stdout.