I am developing an app that will put various messages on the Ionic watchface, based on my current latitude & longitude. The logic is along the lines of "If I am in area between Lat1 and Lat2 and Long1 and Long2 then do something."
The code looks like this:As you can see, it generates a few errors. If I try and use Boolean logic to reduce the nested IF statements, I get the following:
- it doesn't seem to loke the Boolean operator &&. Am I doing something incorrectly?