Function: Length()
Length(
min,max?,options?):PropertyDecorator
Defined in: src/validation/ValidationDecorators.ts:70
Validates that a string's length is between min and max inclusive.
Parameters
| Parameter | Type |
|---|---|
min | number |
max? | number |
options? | ValidationOptions |
Returns
PropertyDecorator