If A and B have truth values
You mean if A and B are boolean values. In that case, yes, but that’s a special case not applicable here.
You mean if A and B are boolean values. In that case, yes, but that’s a special case not applicable here.