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 noticed that if a bunsenValue for a property is null, then this conditional covers that case:
property
export function ifNotUndefined (path) { return [ { if: [ { [path]: { notEqual: undefined } } ] } ]
as opposed to checking for null explicitly:
export function ifNotUndefinedAndNotNull (path) { return [ { if: [ { [path]: { notEqual: undefined }, // AND [path]: { notEqual: null } } ] } ] }
Using unless, also did not suffice:
export function ifNotUndefinedAndNotNull (path) { return [ { unless: [ { [path]: {equals: undefined} }, // OR { [path]: {equals: null} } ] } ] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I noticed that if a bunsenValue for a
property
is null, then this conditional covers that case:as opposed to checking for null explicitly:
Using unless, also did not suffice:
The text was updated successfully, but these errors were encountered: