toArrayBlock
toArrayBlock<
T>(items):ArrayBlock<T>
Defined in: projects/ngx-signal-schema/src/lib/structure/array-block.ts:164
Helper function to convert an array into an ArrayBlock.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”T[] | null
The array of items to be wrapped.
Returns
Section titled “Returns”ArrayBlock<T>
Deprecated
Section titled “Deprecated”since Angular v22. most use cases can be solved by using plain raw arrays.