---
lang: en
title: 'API docs: rest.restbindings.get_from_context'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.restbindings.get_from_context.html
---

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

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RestBindings](./rest.restbindings.md) &gt; [GET\_FROM\_CONTEXT](./rest.restbindings.get_from_context.md)

## RestBindings.GET\_FROM\_CONTEXT variable

Binding key for setting and injecting a wrapper function for retrieving values from a given context

<b>Signature:</b>

```typescript
GET_FROM_CONTEXT: BindingKey<GetFromContext>
```

