Checking selection state on Featurelayer

Discussion created by arekmatoszka on May 13, 2011
Latest reply on Jun 8, 2011 by arekmatoszka
I need to write script that changes some attributes for selected features.
Is there any way to chceck if featurelayer represent selection? Cause now when I'm using layer without any selection it changes attribiutes for all features and that not exactly what I want. :(