Skip to content

Commit e89d3af

Browse files
authored
Update readme.md
1 parent 73b37ad commit e89d3af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ queryString.parse('?isAdmin=true&flagged=true&isOkay=0', {
217217
//=> {isAdmin: 'true', flagged: true, isOkay: false}
218218
```
219219

220-
Note: The `'boolean'` type will also convert `'0'` and `'1'` string values to booleans.
220+
Note: The `'boolean'` type also converts `'0'` and `'1'` to booleans, and treats valueless keys (e.g. `?flag`) as `true`.
221221

222222
- `'string'`: Parse `phoneNumber` as a string (overriding the `parseNumbers` option):
223223

0 commit comments

Comments
 (0)