Constrains a given value.
The type of the value that will be constrained.
The value to constrain.
The constrained value.
Constrains a given value.