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

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

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [GetFromContext](./rest.getfromcontext.md)

## GetFromContext type

<b>Signature:</b>

```typescript
export declare type GetFromContext = (key: string) => Promise<BoundValue>;
```

