isempty()

Applies to: ✅ Azure Data ExplorerAzure MonitorMicrosoft Sentinel

Returns true if the argument is an empty string or is null.

Syntax

isempty(value)

Learn more about syntax conventions.

Parameters

Name Type Required Description
value string ✔️ The value to check if empty or null.

Returns

A boolean value indicating whether value is an empty string or is null.

Example

x isempty(x)
"" true
"x" false
parsejson("") true
parsejson("[]") false
parsejson("{}") false