> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# IsByteLength

> Checks if the string's length (in bytes) falls in a range. If given value is not a string, then it returns false.

> **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`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.