Boolean
Booleans are written as in Javascript
bool = true
bool = falseLogical operators
a = 1
b= 2
bool = a > 0 && b > 0
bool = a > 0 || b > 0The negotiation
bool = !(a > 0)bool = true
bool = !bool
bool = not boolLast updated
Was this helpful?