adding elements to a set that already potentially contain them

hi

if you try to add an element to a set that already contains the element, will it simply skip it? talking about set → add node
if you push an array into a non empty set via set add items node, and the array contains elements already in the set, will the entire operation fail or will it simply skip those elements already in the set?

thanks

Perhaps you could clarify how you’re pushing arrays into sets? What kind of data are we dealing with?

1 Like

lol not what chatgpt told me so i am glad i checked here also

If you have 1,2,3 and push in 2,3,4, you will end up with 1,2,3,4 - in this instance chatGPT is correct. I sense I misunderstood the original question.

1 Like

thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.