apoc.map.get

Function

apoc.map.get(map,key,[default],[fail=true]) - returns value for key or throws exception if key doesn’t exist and no default given

Signature

apoc.map.get(map :: MAP?, key :: STRING?, value = null :: ANY?, fail = true :: BOOLEAN?) :: (ANY?)

Input parameters

Name Type Default

map

MAP?

null

key

STRING?

null

value

ANY?

null

fail

BOOLEAN?

true