Function max

Validates that a string's length is at most the specified value.

`@max(100) description: string;`
  • Parameters

    • value: number

      Maximum length allowed

    Returns PropertyDecorator