ampersandLogical Operators

What are logical operators?

They let you check multiple conditions at same time.

x = true
y = false

yo x && y   // and
yo x || y   // or
yo !x       // not

Last updated