Skip to content

isObject

reference
1 min readUpdated

Kind: Function

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

Part of: Common

Signature

ts
function isObject(fn: any): fn is object

Parameters

NameType
fnany

Returns: fn is object

Used by

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

Imported by (26)

  • CustomHeader — packages/core/router/router-response-controller.ts:18
  • AdditionalHeaders — packages/core/router/sse-stream.ts:38
  • CreateDecoratorOptions — packages/core/services/reflector.service.ts:8
  • BaseExceptionFilter — packages/core/exceptions/base-exception-filter.ts:17
  • createContextId — packages/core/helpers/context-id-factory.ts:5
  • InjectorDependency — packages/core/injector/injector.ts:51
  • Module — packages/core/injector/module.ts:44
  • NestApplication — packages/core/nest-application.ts:54

…and 18 more.

Was this page helpful?

Download as PDF
isObject — NestJS head-to-head