Refactor: Deduplicate code for `AND` and `OR` handling in `if()` command

Signed-off-by: Alex Turbov <i.zaufi@gmail.com>
1 file changed