Skip to content

isEmpty

reference
1 min readUpdated

Kind: Function

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

Part of: Common

Signature

ts
function isEmpty(array: any): boolean

Parameters

NameType
arrayany

Returns: boolean

Used by

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

Imported by (20)

  • RouterExceptionFilterspackages/core/router/router-exception-filters.ts:14
  • ParamPropertiespackages/core/router/router-execution-context.ts:50
  • CreateDecoratorOptionspackages/core/services/reflector.service.ts:8
  • BaseExceptionFilterContextpackages/core/exceptions/base-exception-filter-context.ts:11
  • ExceptionsHandlerpackages/core/exceptions/exceptions-handler.ts:9
  • ExternalExceptionFilterContextpackages/core/exceptions/external-exception-filter-context.ts:14
  • ExternalExceptionsHandlerpackages/core/exceptions/external-exceptions-handler.ts:8
  • GuardsConsumerpackages/core/guards/guards-consumer.ts:7

…and 12 more.

Was this page helpful?

Download as PDF
isEmpty — NestJS head-to-head