apoc.scoring.existence

Function APOC Core

apoc.scoring.existence(5, true) returns the provided score if true, 0 if false

Signature

apoc.scoring.existence(score :: INTEGER?, exists :: BOOLEAN?) :: (FLOAT?)

Input parameters

Name Type Default

score

INTEGER?

null

exists

BOOLEAN?

null