and method
- Condition rh
Implementation
Condition and(Condition rh) {
if (this is ConditionGroupAll) {
// no need for brackets
return ConditionGroupAll(
[...(this as ConditionGroupAll)._conditions, rh]);
}
return ConditionGroupAll([this, rh]);
}