Skip to main content
Max(maxValue, validationOptions?): PropertyDecorator
Defined in: node_modules/.pnpm/class-validator@0.14.4/node_modules/class-validator/types/decorator/number/Max.d.ts:10 Checks if the value is less than or equal to the allowed maximum value.

Parameters

maxValue

number

validationOptions?

ValidationOptions

Returns

PropertyDecorator