finding out if alist of children contains a specific node Follow
Hello,
is there an easy way to find out if a list of abstract childs contains a specific node?
In my example the root concept has a list of AbstracImports and a list of layers. Now a layer constraint should test if a specific import is present.
Thanks
Please sign in to leave a comment.
It's a simple collection so you can use contains or findFirst or any.
O.K. contains didn't work but any works fine.
Thanks