> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metrics-man.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Isempty

# \$isEmpty

The `$isEmpty` operator checks if a value is empty (null, empty string, or empty collection).

## Input

* A single value of any type

## Output

* `true` if the input value is empty (null, empty string, or empty collection), `false` otherwise

## Examples

### Check Empty String

```json theme={null}
{
  "$isEmpty": [
    ""
  ]
}
```

Result: `true`

### Check Empty Array

```json theme={null}
{
  "$isEmpty": [
    []
  ]
}
```

Result: `true`

### Check Empty Object

```json theme={null}
{
  "$isEmpty": [
    {}
  ]
}
```

Result: `true`

### Check Non-Empty Value

```json theme={null}
{
  "$isEmpty": [
    "hello"
  ]
}
```

Result: `false`

### From Field

```json theme={null}
{
  "$isEmpty": [
    {
      "$input": "text_field"
    }
  ]
}
```

Result: `true` if the text\_field is empty, otherwise `false`
