I have read this article and this SO. And I understand the functionality of modifier. When modifiers are placed on a function with a spacing they will be evaluated in the order of placing thus creating an And condition. However, I would to understand how multiple modifiers can be placed so that combination of other Boolean conditions such as OR be evaluated?
For Instance,
modifier modA {
// verify something
_;
// verify something
_;
}
modifier modB {
// verify something
_;
// verify something
_;
}
function Fun() modA modB {
// Do something
}
In this case, modA AND modB will be the execution. But is it possible to use them to form OR condition?