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

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

## Parameters

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

## Returns

`void`
