LoginSignup
0
0

More than 3 years have passed since last update.

比較演算子

Posted at

== 右辺と左辺が等しい場合にはtrueを返す。等しくない場合にはfalseを返す。

!= 右辺と左辺が等しくない場合にはtrueを返す。等しい場合にはfalseを返す。

< 右辺より左辺が小さい場合にはtrueを返す。右辺より左辺が大きいか等しい場合にはfalseを返す。

> 右辺より左辺が大きい場合にはtrueを返す。右辺より左辺が小さいか等しい場合にはfalseを返す。

<= 右辺より左辺が小さいか等しい場合にはtrueを返す。

>= 右辺より左辺が大きいか等しい場合にはtrueを返す。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0