Ruby - Operators and Expressions
What does the Ruby logical operator
&& do?&& do?&&&& operator means 'and' in Ruby, so it returns true only if both sides are true.|| returns true if one or both are true, and ! reverses truth. Equality checks with ==.&& means AND = D [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions