mathx
Provides extended mathematical functions beyond standard Lua math library.
Registered as global "mathx" table.
| Function |
|---|
clamp(value: number, min: number, max: number): number |
Clamps a value between minimum and maximum bounds.
Works with both integers and floating-point numbers. |
debug
Provides access to a restricted set of functions from the Lua debug library. Registered as `debug` global. Only the functions `traceback` and `getinfo` are available.
os
Provides access to a restricted set of functions from the Lua os library. Registered as `os` global. Only the functions `date`, `time` and `clock` are available.