Core API Overview > @adpt/core > childrenToArray
childrenToArray() function
Signature:
export declare function childrenToArray<T>(propsChildren: T | undefined): PrimitiveChildType<T>[];
Parameters
Parameter | Type | Description |
---|---|---|
propsChildren | T | undefined |
Returns:
PrimitiveChildType
<T>[]