AnsweredAssumed Answered

What is the syntax for testing number of results from a geocoder?

Question asked by mbakerDPS on Jun 18, 2014
Latest reply on Jun 18, 2014 by mbakerDPS
Hi all,

I'm trying to test the length of evt.addresses from the results of a geocoder task.

I can get a response if
evt.addresses.length > 1
, but I can't figure out how to test if there are no results, that is,
evt.addresses.length === 0
.

Any thoughts on the correct syntax to use to check for NO results?

Thanks!

-m

Outcomes