if(operand2 is string)convert node1 to string as a new object named newoperand1
if(operand2 is boolean)convert node1 to boolean as a new object named newoperand1
if(comparebasic(newoperand1,operand2,operator))return true
}
}
return false
}