assign boolean expresssion/condition to boolean