1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-28 03:40:04 +08:00
SpaceVim/lua/spacevim/api/data/list.lua
2022-10-19 20:40:43 +08:00

13 lines
124 B
Lua

-- @idea add list lua api
-- pop({list})
local list = {}
function list.pop(l)
return table.remove(l)
end
return list