summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Fields <cyberious@users.noreply.github.com>2014-12-15 16:23:14 -0800
committerTravis Fields <cyberious@users.noreply.github.com>2014-12-15 16:23:14 -0800
commit64c9840949c4d7d4b2d70a04d4d595f3f262572a (patch)
treed1f5f92e1d9b3a1a5486595e159f98994bbf9825
parent3f9617fef03104cf41c21ca619829287e1b8caae (diff)
parentec08c6074994f4e90d10e1a425b1be0fc847ef14 (diff)
Merge pull request #383 from mhaskel/doc_update
Update README for updated member() functionality
-rw-r--r--README.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index 78839c6..bf953d4 100644
--- a/README.markdown
+++ b/README.markdown
@@ -312,7 +312,7 @@ returns the value of the resource's parameter. For example, the following code r
* `max`: Returns the highest value of all arguments. Requires at least one argument. *Type*: rvalue
-* `member`: This function determines if a variable is a member of an array. For example, `member(['a','b'], 'b')` returns 'true', while `member(['a','b'], 'c')` returns 'false'. *Type*: rvalue
+* `member`: This function determines if a variable is a member of an array. The variable can be either a string, array, or fixnum. For example, `member(['a','b'], 'b')` and `member(['a','b','c'], ['b','c'])` return 'true', while `member(['a','b'], 'c')` and `member(['a','b','c'], ['c','d'])` return 'false'. *Type*: rvalue
* `merge`: Merges two or more hashes together and returns the resulting hash.