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
I had some validation failures of boolean fields, because they are of type string coming from the request. I had a better result using filter_var.
return filter_var($value, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE) !== null;
The text was updated successfully, but these errors were encountered:
willemwollebrants
No branches or pull requests
I had some validation failures of boolean fields, because they are of type string coming from the request. I had a better result using filter_var.
return filter_var($value, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE) !== null;
The text was updated successfully, but these errors were encountered: