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

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

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | [`DecoratorContext`](Interface.DecoratorContext.md) |
| `target` | [`Model`](Interface.Model.md) \| [`ModelProperty`](Interface.ModelProperty.md) |
| `minItems` | `number` |

## Returns

`void`
