For unique, I prefer to let javascript do the work:
// Grab unique
[...new Set([1,1,2,3,4])] // Grab unique
[...new Set([1,1,2,3,4])] [...new Set([{x: 1}, {x: 1}])]Javascript is great but sometimes I miss the predicability of the STL.