projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e61188
)
luci.utils.contains: update documentation to match reality
author
Karl Palsson
<karlp@remake.is>
Tue, 1 Sep 2015 13:36:38 +0000
(13:36 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 1 Sep 2015 14:33:41 +0000
(16:33 +0200)
Signed-off-by: Karl Palsson <karlp@remake.is>
modules/luci-base/luasrc/util.luadoc
patch
|
blob
|
history
diff --git
a/modules/luci-base/luasrc/util.luadoc
b/modules/luci-base/luasrc/util.luadoc
index 1c09b7a9ab58f1e613f56bc25bb9a0ee02d7dcbe..ed1d8ab069442c69e0cd733ddaecbbcfec4f7e55 100644
(file)
--- a/
modules/luci-base/luasrc/util.luadoc
+++ b/
modules/luci-base/luasrc/util.luadoc
@@
-182,7
+182,8
@@
Checks whether the given table contains the given value.
@name contains
@param table Table value
@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.
]]
---[[