Repl.table() method
Home > streplts > Repl > table
Repl.table() method
Section titled “Repl.table() method”Renders an array of objects as a formatted table.
Signature:
table(data: any[], options?: { bordered?: boolean; padding?: number; }): void;Parameters
Section titled “Parameters”|
Parameter |
Type |
Description |
|---|---|---|
|
data |
any[] |
Array of objects to display. |
|
options |
{ bordered?: boolean; padding?: number; } |
(Optional) Configuration for table styling (bordered, padding). |
Returns:
void