isnotempty()

使用 “版本 ”下拉列表切换服务。 了解有关导航的详细信息
适用于: ✅ Azure 数据资源管理器 ✅ Azure Monitor ✅ Microsoft Sentinel

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

弃用的别名:notempty()

语法

isnotempty( 价值)

详细了解语法约定

参数

客户 类型 必需 Description
value 标量 (scalar) ✔️ 要检查是否为空或 null 的值。

返回

如果true不为 null,则返回 ,否则返回 false

示例

查找具有开始位置的暴风雨事件。

StormEvents
| where isnotempty(BeginLat) and isnotempty(BeginLon)