Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions imports/array/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@ function lib.array:includes(element, fromIndex)
return false
end

---Concatenates all array elements into a string, seperated by commas or the specified seperator.
---@param seperator? string
function lib.array:join(seperator)
return table_concat(self, seperator or ',')
---Concatenates all array elements into a string, separated by commas or the specified separator.
---@param separator? string
function lib.array:join(separator)
return table_concat(self, separator or ',')
end

---Create a new array containing the results from calling the provided function on every element in an array.
Expand Down