Bash : Compound condition using && (AND) and || (OR) operators

To have compound conditions in bash using && or ||:-
if [ $VAR1 -eq 1 ] && [ "$VAR2" == "true" ]
then
    # do something
fi
 
if [ "$VAR1" == "String 1" ] || [ "$VAR2" == "String 2" ]
then
    # do something
fi

Reference: http://www.museum.state.il.us/ismdepts/library/linuxguides/abs-guide/ops.html#ANDOR