# 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 |