# NestedObject

Fields, allowed values, and APIs that use NestedObject.

Canonical: https://grid.syidax.com/docs/types/NestedObject/

<a id="definition"></a>

## Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

```typescript
type NestedObject<T> =
  NonNullable<T> extends GridFieldLeaf ? never
    : NonNullable<T> extends readonly unknown[] ? never
      : NonNullable<T> extends object ? NonNullable<T>
        : never;
```

<a id="parents"></a>

## Contracts containing this type

- [GridFieldPath](https://grid.syidax.com/docs/types/GridFieldPath.md)
- [GridFieldPathLevel2](https://grid.syidax.com/docs/types/GridFieldPathLevel2.md)

<a id="related"></a>

## Related types

- [GridFieldLeaf](https://grid.syidax.com/docs/types/GridFieldLeaf.md)
