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

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

## Parameters

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

## Returns

`boolean`
