Hi,
Can I write the below expression:
if(jsonGet(’{A}’,‘B’) ==true&jsonGet(’{C}’,‘D’) == false,true,false)
If not, how can I write it?
Thank you!
for the and part use && not &, the equals should be = not ==
You’re also making the expression more complicated than it needs to be:
jsonGet(’{A}’,‘B’)=true && jsonGet(’{C}’,‘D’)=false
You don’t need the if
wrapper when you are just returning boolean values - save it for when you need to return something more complicated.
Thank you for your help.