apoc.coll.max

Function APOC Core

apoc.coll.max([0.5,1,2.3])

Signature

apoc.coll.max(values :: LIST? OF ANY?) :: (ANY?)

Input parameters

Name Type Default

values

LIST? OF ANY?

null

Usage Examples

The following computes the maximum of values in a list:

RETURN apoc.coll.max([1,2,3,4,5]) AS output;
Table 1. Results
Output

5