質問

I think it is always true that

x || (x && y) 

is equivalent to

x

If so, what is that law called? I'm not even sure how I would Google for that.

役に立ちましたか?

解決

It's called a Redundancy Law.

A + A·B = A
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top