---
url: /api/core/types/utils/function-name-of.md
description: api documentation of nameOf from @tsed/core
---

## Usage

```typescript
import { nameOf } from "@tsed/core";
```

> See [/packages/core/src/utils/nameOf.ts](https://github.com/tsedio/tsed/blob/v8.37.1/packages/core/src/utils/nameOf.ts#L0-L0).

## Overview

```ts
function nameOf(obj: any): string;
```

## Description

Gets the name of any object including symbols, functions, and classes.
