isnotempty()isnotempty()

如果参数不为空字符串且不为 null,则返回 trueReturns true if the argument isn't an empty string, and it isn't null.

isnotempty("") == false

语法Syntax

isnotempty([ value ])isnotempty([ value ])

notempty([ value ]) - isnotempty 的别名notempty([ value ]) -- alias of isnotempty

示例Example

T
| where isnotempty(fieldName)
| count