diff options
author | Morgan Haskel <morgan@puppetlabs.com> | 2014-12-15 16:21:28 -0800 |
---|---|---|
committer | Morgan Haskel <morgan@puppetlabs.com> | 2014-12-15 16:21:28 -0800 |
commit | ec08c6074994f4e90d10e1a425b1be0fc847ef14 (patch) | |
tree | d1f5f92e1d9b3a1a5486595e159f98994bbf9825 /README.markdown | |
parent | 3f9617fef03104cf41c21ca619829287e1b8caae (diff) |
Update README for updated member() functionality
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 2 |
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. |