Skip to content

isFunction

reference
1 min readUpdated

Kind: Function

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

Part of: Common

Signature

ts
function isFunction(val: any): val is Function

Parameters

NameType
valany

Returns: val is Function

Used by

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

Imported by (28)

  • anonymousMiddlewarepackages/core/middleware/utils.ts:77
  • InvalidClassScopeExceptionpackages/core/errors/exceptions/invalid-class-scope.exception.ts:6
  • BaseExceptionFilterContextpackages/core/exceptions/base-exception-filter-context.ts:11
  • GuardsContextCreatorpackages/core/guards/guards-context-creator.ts:12
  • ParamPropertiespackages/core/helpers/context-utils.ts:15
  • callBeforeAppShutdownHookpackages/core/hooks/before-app-shutdown.hook.ts:49
  • callModuleBootstrapHookpackages/core/hooks/on-app-bootstrap.hook.ts:43
  • callAppShutdownHookpackages/core/hooks/on-app-shutdown.hook.ts:45

…and 20 more.

Was this page helpful?

Download as PDF
isFunction — NestJS head-to-head