mirror of
https://github.com/TangentFoxy/inspect.lua.git
synced 2025-07-27 18:42:18 +00:00
committed by
GitHub
parent
56fedf76aa
commit
783a088927
@@ -61,7 +61,7 @@ assert(inspect({a={b=2}}) == [[{
|
|||||||
Functions, userdata and any other custom types from Luajit are simply as `<function x>`, `<userdata x>`, etc.:
|
Functions, userdata and any other custom types from Luajit are simply as `<function x>`, `<userdata x>`, etc.:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
assert(inspect({ f = print, ud = some_user_data, thread = a_thread} ) == [[{
|
assert(inspect({ f = print, u = some_user_data, thread = a_thread} ) == [[{
|
||||||
f = <function 1>,
|
f = <function 1>,
|
||||||
u = <userdata 1>,
|
u = <userdata 1>,
|
||||||
thread = <thread 1>
|
thread = <thread 1>
|
||||||
|
Reference in New Issue
Block a user