fromArrayBlock
fromArrayBlock<
T>(arrayBlock):T[]
Defined in: projects/ngx-signal-schema/src/lib/structure/array-block.ts:176
Helper function to convert an ArrayBlock back to an array.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”arrayBlock
Section titled “arrayBlock”ArrayBlock<T>
The ArrayBlock to extract the items from.
Returns
Section titled “Returns”T[]
Deprecated
Section titled “Deprecated”since Angular v22. most use cases can be solved by using plain raw arrays.