> For the complete documentation index, see [llms.txt](https://canvacard.srgobi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://canvacard.srgobi.com/utils/formatvariable.utils.md).

# Format Variable

### formatVariable ⇒ `string`

Gets variables and types.

**Kind**: global variable\
**Returns**: `string` - The formatted variable

| Param    | Type     | Description            |
| -------- | -------- | ---------------------- |
| prefix   | `object` | The type of variable   |
| variable | `object` | The variable to change |
