Skip to content

isSymbol

reference
1 min readUpdated

Kind: Function

Source: packages/common/utils/shared.utils.ts

Part of: Common

Signature

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

Parameters

NameType
valany

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_MESSAGEpackages/core/errors/messages.ts:63
  • InjectorDependencypackages/core/injector/injector.ts:51
  • Modulepackages/core/injector/module.ts:44
  • DeepHashedModuleOpaqueKeyFactorypackages/core/injector/opaque-key-factory/deep-hashed-module-opaque-key-factory.ts:13
  • EventPatternpackages/microservices/decorators/event-pattern.decorator.ts:21
  • GrpcMethodStreamingTypepackages/microservices/decorators/message-pattern.decorator.ts:22

Was this page helpful?

Download as PDF
isSymbol — NestJS head-to-head