---
lang: en
title: 'API docs: context.binding.valueconstructor'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.binding.valueconstructor.html
---

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

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [Binding](./context.binding.md) &gt; [valueConstructor](./context.binding.valueconstructor.md)

## Binding.valueConstructor property

For bindings bound via `toClass()`<!-- -->, this property contains the constructor function of the class

<b>Signature:</b>

```typescript
get valueConstructor(): Constructor<T> | undefined;
```

