# findContainerOverlaps

Canonical: https://docs.shumoku.dev/en/library/api/findContainerOverlaps
Language: en

@shumoku/core · 0.4.0 · function

# findContainerOverlaps

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/invariants.ts#L506)

Find pairs of container boxes that overlap where NEITHER is an ancestor of the other (nesting is legal containment, not interference).

```
findContainerOverlaps(boxes: readonly BoxBounds[]): ContainerOverlap[]
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `boxes` | `readonly BoxBounds[]` | No additional description. | `—` |

## Returns

```
ContainerOverlap[]
```

[`libs/@shumoku/core/src/layout/invariants.ts:506`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/invariants.ts#L506)
