How to find empty group/folder with javaScript?
Hi,
I'm writing a script to do some process with several custom layer groups. There might have some empty groups that I need to ignore in my case.
So I'd like to use the script to find empty groups, how can I achieve that?
What I'm thinking is to get every layerSets and check it's length. If it's equal to 0 then is empty. But "length" of layerSets seems not work for this.
So which property should I use? Or any better way for this?
Thank you