Modules
Miscellaneous
Shared

Shared

Tired of 'table: 000001CC64EC8A40' when passing objects or arrays while trying to print, use this module to easily convert encode them with the indent feature.

print

print(...)

Parameters

  • varargs ...any: The values to print

Examples

print('Lenix', 20) -- Lenix 20
print({'Lenix', 20})
--[[ 
 
[
  "Lenix",
  20
]
 
]]
 
print({name = 'Lenix', age = 20})
--[[ 
{
  "name": "Lenix",
  "age": 20
}
 
]]
  • Just make sure you enable it from the config
  • You can turn off the indent from the config as well