summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorDavid Schmitt <david.schmitt@puppetlabs.com>2015-10-23 09:51:56 +0100
committerDavid Schmitt <david.schmitt@puppetlabs.com>2015-10-23 09:51:56 +0100
commit143d4aa7be9bb5c6cf2d0aa090259fe52a0c6a5c (patch)
tree16002734a385b62988e92ff1a0514e3c49bb87f0 /README.markdown
parent2db7440c6798d3ea0bf2f92c66d8281b2bfcff0c (diff)
parent2c3c6fde98e28cc3afd7f846d3176982f39ebc39 (diff)
Merge pull request #540 from marrero984/update_str2bool_readme
(#2183) updated str2bool readme wording
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index f9c9425..67b2b17 100644
--- a/README.markdown
+++ b/README.markdown
@@ -711,7 +711,7 @@ Returns a new string where runs of the same character that occur in this set are
#### `str2bool`
-Converts a string to a boolean regardless of case. This attempts to convert strings that contain values such as '1', 't', 'y', 'Y', 'YES','yes', and 'TRUE' to 'true' and strings that contain values such as '0', 'f','F', 'N','n', 'NO','FALSE', and 'no' to 'false'. *Type*: rvalue.
+Converts certain strings to a boolean. This attempts to convert strings that contain the values '1', 't', 'y', and 'yes' to 'true'. Strings that contain values '0', 'f', 'n', and 'no', or are an an empty string or undefined are converted to 'false'. Any other value will cause an error. *Type*: rvalue.
#### `str2saltedsha512`