Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Update update.lua documentation #6

Merged
merged 1 commit into from
Sep 14, 2022
Merged
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
2 changes: 1 addition & 1 deletion src/Array/update.lua
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ end
@within Array

@param array {T} -- The array to update.
@param index {number} -- The index to update.
@param index number -- The index to update.
@param updater? (value: T, index: number) -> T -- The updater function.
@param callback? (index: number) -> T -- The callback function.
@return {T} -- The updated array.