apoc.coll.pairs

Function

apoc.coll.pairs([1,2,3]) returns [1,2],[2,3],[3,null]

Signature

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

Input parameters

Name Type Default

list

LIST? OF ANY?

null