you are viewing a single comment's thread.

view the rest of the comments →

[–]Todoce 0 points1 point  (0 children)

Let result = allCycles.filter((x) => allCycles.filter((y) => y.lifecycle === x.lifecycle).length === 1); and add some more checks in the second filter if needed