isempty()

使用 “版本 ”下拉列表切换服务。 了解有关导航的详细信息
适用于:✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel

如果参数为空字符串或为 null,则返回 true

语法

isempty( 价值)

详细了解语法约定

参数

客户 类型 必需 Description
value string ✔️ 要检查是否为空或 null 的值。

返回

一个布尔值,指示 value 是否为空字符或 null。

示例

x isempty(x)
""
"x" false
parsejson("")
parsejson("[]") false
parsejson(“”{}) false