rename dir2() to keys()

This commit is contained in:
whosit 2025-03-25 00:36:35 +03:00
parent 1688a712cb
commit 723bab7fd8

View File

@ -90,7 +90,7 @@ local function create_shared_environment(player_name)
dir = function(o)
core.chat_send_player(player_name, dump_dir(o))
end,
dir2 = function(o)
keys = function(o)
-- collect all keys of the table, no values
if type(o) == "table" then
local keys = {}