UNPKG

@loopback/docs

Version:
32 lines (20 loc) 778 B
--- lang: en title: 'API docs: repository.arraytype.serialize' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.repository.arraytype.serialize.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [ArrayType](./repository.arraytype.md) &gt; [serialize](./repository.arraytype.serialize.md) ## ArrayType.serialize() method <b>Signature:</b> ```typescript serialize(value: T[] | null | undefined): any[] | null | undefined; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | value | <code>T[] &#124; null &#124; undefined</code> | | <b>Returns:</b> `any[] | null | undefined`