Module pretty

The Pretty module provides a utility for printing Lua tables in a more readable format.

Functions

tprint (tbl, indent) Prints a table with indentation for better readability.

Tables

pretty The pretty module


Functions

tprint (tbl, indent)
Prints a table with indentation for better readability.

Parameters:

  • tbl {table} The table to print
  • indent {number} The indentation level (default is 0)

Returns:

    {string} A string representation of the table with indentation

Tables

pretty
The pretty module

Fields:

  • _version The version number of the pretty module
  • tprint The tprint function
generated by LDoc 1.5.0 Last updated 2024-10-29 14:41:25