How to Add Items To a Server Action Object Array List Which Are Not Already Present?

contain can be tricky, for example, 120 "contains" 12.
I think the best approach is using join id, split with comma and then use not in array
Like:

1 Like