apoc.coll.flatten

Function

apoc.coll.flatten(coll, [recursive]) - flattens list (nested if recursive is true)

Signature

apoc.coll.flatten(coll :: LIST? OF ANY?, recursive = false :: BOOLEAN?) :: (LIST? OF ANY?)

Input parameters

Name Type Default

coll

LIST? OF ANY?

null

recursive

BOOLEAN?

false