Packages > @fluidframework/tree > IterableTreeArrayContent

IterableTreeArrayContent Class

Used to insert iterable content into a TreeArrayNode . Use (TreeArrayNode:variable).spread to create an instance of this type.

Signature

/** @sealed */
export declare class IterableTreeArrayContent<T> implements Iterable<T>

Implements: Iterable<T>

Type Parameters

Parameter Description
T

Methods

Method Return Type Description
[Symbol.iterator]() Iterator<T> Iterates over content for nodes to insert.

Method Details

[Symbol.iterator]

Iterates over content for nodes to insert.

Signature

[Symbol.iterator](): Iterator<T>;

Returns

Return type: Iterator<T>