---
jsApi: true
title: "[F] $minLength"

---
```ts
$minLength(
   context, 
   target, 
   minLength): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | [`DecoratorContext`](../interfaces/DecoratorContext.md) |
| `target` | [`ModelProperty`](../interfaces/ModelProperty.md) \| [`Scalar`](../interfaces/Scalar.md) |
| `minLength` | `number` |

## Returns

`void`
