Skip to content

validateEach

reference
1 min readUpdated

Kind: Function

Source: packages/common/utils/validate-each.util.ts

Part of: Common

Signature

ts
function validateEach(context: { name: string }, arr: any[], predicate: Function, decorator: string, item: string): boolean

Parameters

NameType
context{ name: string }
arrany[]
predicateFunction
decoratorstring
itemstring

Returns: boolean

Was this page helpful?

Download as PDF
validateEach — NestJS head-to-head