Isnotempty

isnotempty

Returns true if the argument is a non-empty string, false if null or empty.

Spec

isnotempty(arg0)

Parameters

arg0 - A string value to check.

Return Value

A boolean: true if arg0 is non-null and non-empty, false otherwise.

Example

datatable(val:string)["hello", ""]
| extend result = isnotempty(val)
valresult
hellotrue
false