Debug
debug.getconstant
Retrieves one constant from a function or stack level.
Related to sUNC documentation
This page follows the official sUNC reference.
Signature
function debug.getconstant(func: (...any) -> (...any) | number, index: number): number | string | boolean | nilReturns
The selected constant or nil.