diff options
author | Karl Palsson <karlp@remake.is> | 2015-09-01 13:36:38 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-09-01 16:33:41 +0200 |
commit | 8084babf185e4825a0d313ea2a42b9f0b4ae4bfa (patch) | |
tree | 42dcf362cbeba0b9a5b0bb471ab78295fc5b9a31 /modules/luci-base/luasrc | |
parent | 2e6118888156b66d8a84e6487de12d5ba88a6a6e (diff) |
luci.utils.contains: update documentation to match reality
Signed-off-by: Karl Palsson <karlp@remake.is>
Diffstat (limited to 'modules/luci-base/luasrc')
-rw-r--r-- | modules/luci-base/luasrc/util.luadoc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/util.luadoc b/modules/luci-base/luasrc/util.luadoc index 1c09b7a9ab..ed1d8ab069 100644 --- 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. ]] ---[[ |