MaxLength(Defined in: node_modules/.pnpm/class-validator@0.14.4/node_modules/class-validator/types/decorator/string/MaxLength.d.ts:12 Checks if the string’s length is not more than given number. Note: this function takes into account surrogate pairs. If given value is not a string, then it returns false.max,validationOptions?):PropertyDecorator
Parameters
max
number
validationOptions?
ValidationOptions
Returns
PropertyDecorator