apoc.coll.subtract

Function

apoc.coll.subtract(first, second) - returns unique set of first list with all elements of second list removed

Signature

apoc.coll.subtract(first :: LIST? OF ANY?, second :: LIST? OF ANY?) :: (LIST? OF ANY?)

Input parameters

Name Type Default

first

LIST? OF ANY?

null

second

LIST? OF ANY?

null