Skip to content

#isNull

Returns true if the provided value is null, false otherwise.

#isNull(value)
Category Paths and existenceValid in Property value
Name Type Description
value path | value The value to test.

boolean

source.json
{
"a": null
}
transformer.json
{
"result": "#isNull($.a)"
}
output.json
{
"result": true
}

Try it in the playground →

#exists · #isMissing