isnotnull()

Returns true if the argument value is not null and false otherwise.

Syntax

isnotnull(EXPR)
Required Parameters
EXPR
Expression that returns the value to be checked.

Usage

json "{}" | eval bool=isnotnull(1) => true

json "{}" | eval bool=isnotnull(null) => false