---
title: "Type Example"
description: "Extracted example from ctx.getVar()"
---

# ctx.getVar()

## Type

```ts
getVarInfos(options?: { path?: string | string[]; maxDepth?: number }): Promise<Record<string, any>>;
```
