Extracting a list of unique values in a list

Recently I had the occasion to try and filter a numberList for the unique values in the list, wanting to discard all duplicates. Seeing lists in the graph component can be sorted, but not finding a built in function, I wrote a few equations to filter out all the unique values and place them in a resulting list.
This might be of use to a few activity developers out there.

In this activity are two slides. One to walk through the list processing step-by-step. The second is a condensed version if you simply want to use it to copy/paste into something you’re working on.

2 Likes