apoc.coll.min

Function

apoc.coll.min(values [Any]) - returns the minimum of all values in the given list.

Signature

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

Input parameters

Name Type Default

values

LIST? OF ANY?

null

Usage examples

The following computes the minimum of values in a list:

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

1