From cb9ec95a34f7d23b94b7dc7f8246a98356336edf Mon Sep 17 00:00:00 2001 From: Oscar Morante Date: Wed, 20 Feb 2013 22:23:28 +0100 Subject: [PATCH] fix _.include example in documentation --- template/functions.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/functions.yaml b/template/functions.yaml index 0a504dc..48ca4a6 100644 --- a/template/functions.yaml +++ b/template/functions.yaml @@ -119,9 +119,9 @@ iterator_functions: description: | Returns true if the list include's value. Uses the == operator. example: | - _.include({1,2,3,4}, function(i) return i%2 == 0 end) + _.include({1,2,3,4}, 2) => true - _.include({1,3,5}, function(i) return i%2 == 0 end) + _.include({1,3,5}, 2) => false - name: