Skip to content

Commit

Permalink
fixup! docs(api): Keep working on organizing and documenting, cleanup…
Browse files Browse the repository at this point in the history
… types
  • Loading branch information
alerque committed Feb 12, 2024
1 parent 9c79988 commit a7fc89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/utilities/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ end

--- Remove empty spaces from list-like tables
-- Iterating list-like tables is hard if some values have been removed. This converts { 1 = "a", 3 = "b" } into
-- { 1 = "a", 2 = "b" } which can be iterated using `ipairs()` without stopping after 1.
-- { 1 = "a", 2 = "b" } which can be iterated using `ipairs` without stopping after 1.
-- @tparam table items List-like table potentially with holes.
-- @treturn table List like table without holes.
function utilities.compress (items)
Expand Down

0 comments on commit a7fc89a

Please sign in to comment.