Notifications
Clear all

[Closed] isValidNode selectionSets ?

I am trying to test if a selection Set exist but I can find the right code
I tried this:

if isValidNode selectionSets[“Sel01”] then

Any idea?

1 Reply

It’s easy loran, if the selectionset returns undefined the it doesnt exist, if it returns an array of objects the it exists.

if selectionSets["Sel01"] == undefined then print "Doesn't exist"