apoc.coll.toSet Function APOC Core apoc.coll.toSet([list]) returns a unique list backed by a set Signature apoc.coll.toSet(values :: LIST? OF ANY?) :: (LIST? OF ANY?) Input parameters Name Type Default values LIST? OF ANY? null Usage Examples The following converts a list to a set: RETURN apoc.coll.toSet([1,1,2,1,3,4,1]) AS output; Table 1. Results Output [1, 2, 3, 4] apoc.coll.sumLongs apoc.coll.union