From: Karl Palsson Date: Tue, 1 Sep 2015 13:36:38 +0000 (+0000) Subject: luci.utils.contains: update documentation to match reality X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8084babf185e4825a0d313ea2a42b9f0b4ae4bfa;p=project%2Fluci.git luci.utils.contains: update documentation to match reality Signed-off-by: Karl Palsson --- 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. ]] ---[[