luci.utils.contains: update documentation to match reality
Signed-off-by: Karl Palsson <karlp@remake.is>
This commit is contained in:
parent
2e61188881
commit
8084babf18
1 changed files with 2 additions and 1 deletions
|
@ -182,7 +182,8 @@ Checks whether the given table contains the given value.
|
||||||
@name contains
|
@name contains
|
||||||
@param table Table value
|
@param table Table value
|
||||||
@param value Value to search within the given table
|
@param value Value to search within the given table
|
||||||
@return Boolean indicating whether the given value occurs within table
|
@return number indicating the first index at which the given value occurs
|
||||||
|
-- within table or false.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
---[[
|
---[[
|
||||||
|
|
Loading…
Reference in a new issue