We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, what about extending the isBoolean function by allowing :
validator.js/src/lib/isBoolean.js
Line 5 in d1a9b6d
The text was updated successfully, but these errors were encountered:
It does make sense only behind an option that should default to false IMHO. Like isBoolean(str, { loose: true }).
false
isBoolean(str, { loose: true })
Sorry, something went wrong.
I opened this PR to add the loose option to isBoolean. #1676
isBoolean
I believe this issue can be closed now that #1676 was merged.
Thank you @brybrophy
No branches or pull requests
Hello, what about extending the isBoolean function by allowing :
validator.js/src/lib/isBoolean.js
Line 5 in d1a9b6d
The text was updated successfully, but these errors were encountered: