Skip to main content

Function: IsIntegerStringCombinedLocalized

validation/src.IsIntegerStringCombinedLocalized

IsIntegerStringCombinedLocalized(__namedParameters): <TFunction, Y>(target, propertyKey?, descriptor?) => void

this useful for path variables and query params that are string by it's nature, but should be integer the obvious example for this validator is pagination params for size and page number

Parameters

__namedParameters: IsIntegerStringCombinedOptions= {}

Returns

function

<TFunction, Y>(target, propertyKey?, descriptor?): void

Function that returns a new decorator that applies all decorators provided by param

Useful to build new decorators (or a decorator factory) encapsulating multiple decorators related with the same feature

Type parameters

TFunction extends Function

Y

Parameters

target: object | TFunction

propertyKey?: string | symbol

descriptor?: TypedPropertyDescriptor<Y>

Returns

void

Public Api

Source

node_modules/@nestjs/common/decorators/core/apply-decorators.d.ts:10

Source

libs/validation/src/lib/validators/is-integer-string-combined.validator.ts:20


Generated using typedoc-plugin-markdown and TypeDoc