apoc.coll.indexOf
Function APOC Core
apoc.coll.indexOf(coll, value) | position of value in the list
Usage Examples
The following returns the index of the value 3
in the list:
RETURN apoc.coll.indexOf([1,3,5,7,9], 3) AS output;
Output |
---|
1 |
Was this page helpful?