---
jsApi: true
title: "[F] validateDecoratorParamCount"

---
```ts
validateDecoratorParamCount(
  context,
  min,
  max,
  parameters): boolean
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | [`DecoratorContext`](Interface.DecoratorContext.md) |
| `min` | `number` |
| `max` | `undefined` \| `number` |
| `parameters` | `unknown`[] |

## Returns

`boolean`
