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

x/cliffy/table/utils.ts>longest

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
function longest
import { longest } from "https://deno.land/x/cliffy@v0.25.2/table/utils.ts";

Get longest cell from given row index.

Parameters

index: number
rows: ICell[][]
optional
maxWidth: number

Returns

number