---
lang: en
title: 'API docs: repository.objecttype.defaultvalue'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository.objecttype.defaultvalue.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [ObjectType](./repository.objecttype.md) &gt; [defaultValue](./repository.objecttype.defaultvalue.md)

## ObjectType.defaultValue() method

<b>Signature:</b>

```typescript
defaultValue(): T;
```
<b>Returns:</b>

`T`


