# isSymbol

**Kind:** Function

**Source:** [`packages/common/utils/shared.utils.ts`](https://github.com/nestjs/nest/blob/master/packages/common/utils/shared.utils.ts#L51)

**Part of:** [Common](subsystem-packages-common)

## Signature

```ts
function isSymbol(val: any): val is symbol
```

## Parameters

| Name | Type |
|---|---|
| `val` | `any` |

**Returns:** `val is symbol`

## Used by

6 references from 6 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (6)

- `UNKNOWN_DEPENDENCIES_MESSAGE` — `packages/core/errors/messages.ts`:63
- `InjectorDependency` — `packages/core/injector/injector.ts`:51
- `Module` — `packages/core/injector/module.ts`:44
- `DeepHashedModuleOpaqueKeyFactory` — `packages/core/injector/opaque-key-factory/deep-hashed-module-opaque-key-factory.ts`:13
- `EventPattern` — `packages/microservices/decorators/event-pattern.decorator.ts`:21
- `GrpcMethodStreamingType` — `packages/microservices/decorators/message-pattern.decorator.ts`:22
