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: