Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Alloy - Check if a record exists in a collection

$
0
0

What's the best way to check if a record exists in a collection?

I use (typeof $.collection.get(id)!=="undefined"). Any better/standard way?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>