Skip to content

Commit 143d4aa

Browse files
committed
Merge pull request #540 from marrero984/update_str2bool_readme
(#2183) updated str2bool readme wording
2 parents 2db7440 + 2c3c6fd commit 143d4aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ Returns a new string where runs of the same character that occur in this set are
711711

712712
#### `str2bool`
713713

714-
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.
714+
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.
715715

716716
#### `str2saltedsha512`
717717

0 commit comments

Comments
 (0)