Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/table/row.ts>Row

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class Row
extends Array<T>
import { Row } from "https://deno.land/x/cliffy@v0.17.0/table/row.ts";

Row representation.

Type Parameters

optional
T extends ICell = ICell

Properties

protected
options: IRowOptions

Methods

border(enable: boolean, override?): this

Enable/disable cell border.

Clone row recursively with all options.

getBorder(): boolean

Check if row has border.

hasBorder(): boolean

Check if row or any child cell has border.

Static Methods

from<T extends ICell = ICell>(cells: IRow<T>): Row<T>

Create a new row. If cells is a row, all cells and options of the row will be copied to the new row.