PDA

View Full Version : [1,2,3].contains(2)


saltzmanjoelh
01-08-2009, 09:28 PM
myArray:ArrayCollection = new ArrayCollection([1,2,3])
myArray.contains(2) ::: returns false

Is this because everything is by memory reference? How can you get this to work?

Sekhar
01-09-2009, 03:24 PM
See if you have a filter (filterFunction) on the collection.