# Constrained\[T: [Any](builtin-Any.md) val, F: [Validator](constrained_types-Validator.md)\[T\] val\]
<span class="source-link">[[Source]](src/constrained_types/validator.md#L-0-46)</span>

Wrapper class for a constrained type.


```pony
class val Constrained[T: Any val, F: Validator[T] val]
```

## Public Functions

### apply
<span class="source-link">[[Source]](src/constrained_types/validator.md#L-0-59)</span>


Unwraps and allows access to the constrained object.


```pony
fun val apply()
: T
```

#### Returns

* T

---

