And

Function

And(conditions...)

conditions

And(functions...)

functions

Use

The And() function checks if all given boolean values are true.

If all inputs to And() are true, then it returns true. If any inputs are false, then it returns false.

Examples
  • And(true, false)  = false
  • And(true, true)  = true
  • And(true, false, true)  = false
  • And(1 > 0, 1 < 2)  = true
  • And(2*2 == 4, 2*2 < 0)  = false

 

 


And is included by default in each file as part of the Logic library.

 

See also: