# toArray

**Kind:** Function

**Source:** [`src/jsx/children.ts`](https://github.com/honojs/hono/blob/main/src/jsx/children.ts#L3)

**Part of:** [Jsx](subsystem-src-jsx)

## Signature

```ts
function toArray(children: Child): Child[]
```

## Parameters

| Name | Type |
|---|---|
| `children` | `Child` |

**Returns:** `Child[]`

## Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (2)

- `HasRenderToDom` — `src/jsx/dom/render.ts`:30
- `title` — `src/jsx/intrinsic-element/components.ts`:121
