isnull()

Returns true if the argument is null and false otherwise.

Syntax

isnull(EXPR)
Required Parameter
EXPR
Expression that returns the value to be checked.

Usage

json "{}" | eval bool=isnull(null) => true

json "{}" | eval bool=isnull(1) => false