1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

論理演算子について

Posted at
演算子 記述例 意味 別の演算子
&& a && b aとbが共に真の場合に真 and
II a II b aかbの少なくとも1つが真の場合に真 or
! !a aが真の時に偽、偽の時に真 not

※ちなみにマークダウン法では ||は表をかく記号と同じだから
*railsとは無関係ですが、マークダウン法でアルファベットアイ「i」の大文字を使うとダミーの演算記号ができ上がります。

1
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?