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

# Type: Object

> Checks that the value is of type object.

export const FormField = ({property, label, required = false, diType, uiPatterns, children}) => {
  const patterns = Array.isArray(uiPatterns) ? uiPatterns : uiPatterns ? [uiPatterns] : [];
  return <div style={{
    margin: '1.5rem 0'
  }}>
      <div style={{
    display: 'flex',
    alignItems: 'baseline',
    flexWrap: 'wrap',
    gap: '0.5rem',
    marginBottom: '0.25rem'
  }}>
        <strong>{label}</strong>
        <span style={{
    fontSize: '0.7rem',
    fontWeight: 600,
    textTransform: 'uppercase',
    letterSpacing: '0.04em',
    color: required ? '#6241f5' : '#6b7280'
  }}>
          {required ? 'Required' : 'Optional'}
        </span>
      </div>

      <div>{children}</div>

      {diType || patterns.length > 0 ? <p style={{
    fontSize: '0.85rem',
    color: '#6b7280',
    marginBottom: 0
  }}>
          {diType ? <>
              See the <a href={`/references/${diType}`}>{diType}</a> reference.{' '}
            </> : null}
          {patterns.length > 0 ? <>
              Accepts a <a href={`/documentation/placeholders-and-patterns/patterns#${patterns[0]}`}>pattern</a>.
            </> : null}
        </p> : null}
    </div>;
};

Checks whether the incoming value is an object: a block of named fields, such as a product with a `sku`, `name`, and `price`, rather than a plain list of values. Use this wherever a step needs to confirm it is working with a structured record before reaching into its fields. A value matches when it is a set of key and value pairs, like `{ "sku": "A1", "name": "Blue T-shirt" }`. A plain list of values, such as `["red", "green", "blue"]`, does not match, since it has no field names. This condition has no settings: it looks at whatever value it is given and reports whether that value is an object.

This documentation describes: [Schema](/schemas/condition/type-object)

## Fields

This condition has no settings of its own.

## Sample data

This checks each entity's `value` field.

| Incoming value                             | Result         |
| ------------------------------------------ | -------------- |
| `{ "sku": "A1", "qty": 2 }` (named fields) | Matches        |
| `[]` (an empty value)                      | Matches        |
| `["a", "b", "c"]` (a plain list)           | Does not match |
| `42` (a number)                            | Does not match |
| `"hello"` (text)                           | Does not match |
| `null` (no value)                          | Does not match |

One thing to watch: a completely empty value is also treated as an object and matches, because there are no list entries to tell the two apart. If you specifically need a plain list, use the [Type: Array](/references/condition/type-array) check with its Strict setting turned on.

```json Configuration theme={null}
{
  "prototype": "type-object",
  "parameters": {}
}
```
