Skip to content

childrenArray

import { childrenArray } from "@alloy-js/core";
function childrenArray(fn: () => Children, options?: ChildrenOptions): Children[];

Parameters

fn

() => Children

optionsoptional

ChildrenOptions

Options

preserveFragmentsoptionalboolean

When true, fragments and arrays are not flattened.

Returns

Children[]