Performs a logical equality (XNOR) operation on two boolean literal types A and B. Returns true if both A and B are the same, false otherwise.
A
B
true
false
The first boolean literal type (true or false).
The second boolean literal type (true or false).
type T_T = BoolEq<true, true>; // truetype T_F = BoolEq<true, false>; // falsetype F_T = BoolEq<false, true>; // falsetype F_F = BoolEq<false, false>; // true Copy
type T_T = BoolEq<true, true>; // truetype T_F = BoolEq<true, false>; // falsetype F_T = BoolEq<false, true>; // falsetype F_F = BoolEq<false, false>; // true
Performs a logical equality (XNOR) operation on two boolean literal types
AandB. Returnstrueif bothAandBare the same,falseotherwise.