> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Type Alias: ReactLynxChildren

> **ReactLynxChildren** = `Omit`\<_typeof_ `PreactChildren`, `"map"` | `"forEach"` | `"toArray"`> & `object`

Type of ReactLynx children utilities.

## Type Declaration

### forEach()

> **forEach**\<`T` _extends_ `ComponentChild`, `R`>(`children`: `T` | `T`\[], `fn`: (`child`: `T`, `index`: `number`) => `R`): readonly `R`\[] | `null`

#### Type Parameters

| Type Parameter                 |
| ------------------------------ |
| `T` _extends_ `ComponentChild` |
| `R`                            |

#### Parameters

| Parameter  | Type                                     |
| ---------- | ---------------------------------------- |
| `children` | `T` \| `T`\[]                            |
| `fn`       | (`child`: `T`, `index`: `number`) => `R` |

#### Returns

readonly `R`\[] | `null`

### map()

> **map**\<`T` _extends_ `ComponentChild`, `R`>(`children`: `T` | `T`\[], `fn`: (`child`: `T`, `index`: `number`) => `R`): readonly `R`\[] | `null`

#### Type Parameters

| Type Parameter                 |
| ------------------------------ |
| `T` _extends_ `ComponentChild` |
| `R`                            |

#### Parameters

| Parameter  | Type                                     |
| ---------- | ---------------------------------------- |
| `children` | `T` \| `T`\[]                            |
| `fn`       | (`child`: `T`, `index`: `number`) => `R` |

#### Returns

readonly `R`\[] | `null`

### toArray()

> **toArray**(`children`: `ComponentChildren`): readonly `VNode`\<\{ }>\[]

#### Parameters

| Parameter  | Type                |
| ---------- | ------------------- |
| `children` | `ComponentChildren` |

#### Returns

readonly `VNode`\<\{ }>\[]
