Skip to content

toArray

reference
1 min readUpdated

Kind: Function

Source: src/jsx/children.ts

Part of: Jsx

Signature

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

Parameters

NameType
childrenChild

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)

  • HasRenderToDomsrc/jsx/dom/render.ts:30
  • titlesrc/jsx/intrinsic-element/components.ts:121

Was this page helpful?

Download as PDF
toArray — Hono (narrator proof)