apoc.coll.different

Function APOC Core

apoc.coll.different(values) - returns true if values are different

Signature

apoc.coll.different(values :: LIST? OF ANY?) :: (BOOLEAN?)

Input parameters

Name Type Default

values

LIST? OF ANY?

null

Usage Examples

The following indicates whether all values in a collection are different:

RETURN apoc.coll.different([1,3,5,7,9]) AS output;
Table 1. Results
Output

true