validator.js
validator.js copied to clipboard
readme.md toBoolean function documentation typo
Describe the bug In the sanitization section for the toBoolean function in documentation/readme, the expected behavior is for '0', 'false', and '' to return false, but currently in readme.md file, it saying true.
Examples
"Everything expect for ... return true." I think that's correct
I think there's an issue of reframing. I am interested in working on this issue. @krishnenduroy52 please assign it to me.
Looks correct to me as well, see comment above by WikiRik. I would tend to want to close this, if there are no strong feelings about this, ony why this NEEDS to be changed.
Will set myself a reminder for a week and then come back to close, if I don't hear anything back.
This looks correct IMO. Others agree as well. Closing this for now