We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b37ad commit e89d3afCopy full SHA for e89d3af
readme.md
@@ -217,7 +217,7 @@ queryString.parse('?isAdmin=true&flagged=true&isOkay=0', {
217
//=> {isAdmin: 'true', flagged: true, isOkay: false}
218
```
219
220
-Note: The `'boolean'` type will also convert `'0'` and `'1'` string values to booleans.
+Note: The `'boolean'` type also converts `'0'` and `'1'` to booleans, and treats valueless keys (e.g. `?flag`) as `true`.
221
222
- `'string'`: Parse `phoneNumber` as a string (overriding the `parseNumbers` option):
223
0 commit comments