Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns a table of constants that’s derived from a function.
function debug.getconstants(function: function | number): { any? }
getconstants
function foo() return 123 end local constantTable = debug.getconstants(foo) for index, constant in constantTable do print(index, constant) end