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

# Values

# \$values

The `$values` operator returns an array of all values in an object/map.

## Input

* A single object/map value

## Output

* An array containing all the values of the input object

## Examples

### Get Values from Object

```json theme={null}
{
  "$values": [
    {
      "name": "Alice",
      "age": 25,
      "city": "New York"
    }
  ]
}
```

Result: `["Alice", 25, "New York"]`

### From Field

```json theme={null}
{
  "$values": [
    {
      "$input": "user_object"
    }
  ]
}
```

Result: An array of all values from the user\_object field
