Skip to main content
IsByteLength(min, max?, validationOptions?): PropertyDecorator
Defined in: node_modules/.pnpm/class-validator@0.14.4/node_modules/class-validator/types/decorator/string/IsByteLength.d.ts:12 Checks if the string’s length (in bytes) falls in a range. If given value is not a string, then it returns false.

Parameters

min

number

max?

number

validationOptions?

ValidationOptions

Returns

PropertyDecorator