apoc.util.validate

Procedure

apoc.util.validate(predicate, message, params) | if the predicate yields to true raise an exception

Signature

apoc.util.validate(predicate :: BOOLEAN?, message :: STRING?, params :: LIST? OF ANY?) :: VOID

Input parameters

Name Type Default

predicate

BOOLEAN?

null

message

STRING?

null

params

LIST? OF ANY?

null