UNPKG

@loopback/docs

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