You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Try.jsonata.org, on the default Invoice template and adding a "cancellation" number field only to the first order object, and filtering on the truthiness of that number:
As you can see that is completely random.
One would expect 0 to be "falsy" and everything else to be "truthy", like in every other language.
It seems to behave fine for true/false/null/""/"foo"/{}...
The text was updated successfully, but these errors were encountered:
Using Try.jsonata.org, on the default Invoice template and adding a "cancellation" number field only to the first order object, and filtering on the truthiness of that number:
As you can see that is completely random.
One would expect 0 to be "falsy" and everything else to be "truthy", like in every other language.
It seems to behave fine for true/false/null/""/"foo"/{}...
The text was updated successfully, but these errors were encountered: