How to compare 2 boolean values in TypeScript

后端 未结 0 1824
夕颜
夕颜 2020-12-19 22:07

I\'m trying to compare to boolean value in a if. I would like to do something like this:

value1 = false;
value2 = true;

if (value1 === value2) {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题