## LRUCache.get() method  
Returns the value for the given key.

**Signature:**
```typescript
get(key: string): T | undefined;
```

## Parameters  
| Parameter | Type | Description |
| --- | --- | --- |
| key | string | The key to retrieve. |

**Returns:**
T | undefined

The value if found; undefined otherwise.

- [LRUCache.get() method](/content/docs/sdk/core.lrucache.get#lrucacheget-method/index.html)  
- [Parameters](/content/docs/sdk/core.lrucache.get#parameters/index.html)
