---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---

# Backend.prototype.toName()

:::info

This method is deprecated, use [`Backend.prototype.name`](./name.mdx) instead.

:::

The **`toName()`** method returns the name associated with the `Backend` instance.

## Syntax

```js
toName()
```

### Return value

A string which contains the name of the Backend.
