Skip to main content Skip to complementary content

hasValue

Returns true if the input element is not null or not an empty string.

When used in a query, if the argument is a path to an unknown item, the function returns false instead of raising an error.

Arguments

Input element.

Examples

Expression Result
hasValue("Hello World!") true

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!