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

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rush42 committed Apr 17, 2024
1 parent 2b18e4f commit da96f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processing/topics/helper/Sanitize.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---@param allowed table
---@param fallback? any
---@return any
-- makes sure that `value` is in the set `allowed`. Returns `default` if value is nil
-- makes sure that `value` is in the set `allowed`. Returns `fallback` if value is nil
function Sanitize(value, allowed, fallback)
if value == nil then
return fallback
Expand Down

0 comments on commit da96f2b

Please sign in to comment.