apoc.coll.dropDuplicateNeighbors

Function APOC Core

apoc.coll.dropDuplicateNeighbors(list) - remove duplicate consecutive objects in a list

Signature

apoc.coll.dropDuplicateNeighbors(list :: LIST? OF ANY?) :: (LIST? OF ANY?)

Input parameters

Name Type Default

list

LIST? OF ANY?

null