diff --git a/docs/index.html b/docs/index.html index d6c022b..fea9d84 100644 --- a/docs/index.html +++ b/docs/index.html @@ -304,7 +304,7 @@

Iterator Functions

_.include(iter, value)

Returns true if the list include's value. Uses the == operator.

-
_.include({1,2,3,4}, function(i) return i%2 == 0 end)
=> true
_.include({1,3,5}, function(i) return i%2 == 0 end)
=> false
+
_.include({1,2,3,4}, 2)
=> true
_.include({1,3,5}, 2)
=> false