Constraints are used to define conditions that must be met by the value of a variable.
The uniform API of the constraints allows chains to be formed.
The AndOperator is used to link several contraints. The constraint is fulfilled if all constraints of the operators are fulfilled.
<script type="module">
import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.0/dist/monster.js';
new Monster.Constraint.AndOperator();
</script>
Alternatively, you can also integrate this function individually.
<script type="module">
import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.0/dist/modules/constraints/andoperator.js';
new AndOperator();
</script>