Logical and Assignment Operators
Learn about different logical and assignment operators in Solidity.
We'll cover the following...
In this lesson, we’ll explore logical and assignment operators. By understanding logical operators, we’ll learn how to create complex conditions by combining boolean values. Simultaneously, we’ll learn assignment operators, simplifying the process of modifying variables.
Logical operators
These operators are used to pair two or more conditions together. The following logical operators are supported by Solidity:
AND (
&&
): This returnstrue
if both criteria are true andfalse
if just one of ...