# Empty()

This function is deprecated, use instead [IsEmpty()](isempty.md).

This function returns `true` if a value exists and is not "empty".

The following things are considered to be empty:

* `""` (an empty string)
* `[]` (an empty array)
* `{}` (an empty struct)

Any other value returns `false`

**Status:** deprecated

```
Empty( variable=variableString );
```

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| variable | variableString | Yes | Variable to check *Alias: variableName, object* |  |

# Examples

*There are currently no examples for this function.*




## Related System Properties / Environment Variables

- [LUCEE_SECURITY_LIMITEVALUATION](../environment-variables-system-properties.md#lucee_security_limitevaluation) - Disable evaluating expressions when accessing scopes, Lucee 7 defaults to enabling this setting for security reasons. A boolean value. If enabled, limits variable evaluation in functions/tags. If enabled, you cannot use expressions within [ ] like this: susi[getVariableName()]. This affects the following functions: IsDefined, structGet, structSort (when using pathToSubElement), empty and the following tags: savecontent attribute `variable`
  ***Type:** boolean, **Default:** false (Lucee 6), true (Lucee 7)*



# See Also

[IsEmpty()](isempty.md)