From ec08c6074994f4e90d10e1a425b1be0fc847ef14 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Mon, 15 Dec 2014 16:21:28 -0800 Subject: Update README for updated member() functionality --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.markdown') 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. -- cgit v1.2.3