GitHub GitHub: 線上編輯

isnull ()

評估其唯一引數並傳回 bool 值,指出引數是否評估為空值。

isnull(parse_json("")) == true

語法

isnull(預期)

退貨

True 或 false ,視值是否為空值而定。

附註:

  • string 值不能是空值。 使用 isempty 來判斷 string 類型的值是否為空白。
x isnull(x)
"" false
"x" false
parse_json("") true
parse_json("[]") false
parse_json("{}") false

範例

T | where isnull(PossiblyNull) | count