4.4. Boolean logic functions #

4.4.1. land()
4.4.2. lnot()
4.4.3. lor()

4.4.1. land() #

Boolean logic AND. It takes two or more numeric operands that are treated as boolean logic values. The function is executed until the result is fully determined, i.e. it stops at the first false value. Operator && is a shortcut for this function.

4.4.2. lnot() #

Boolean logic NOT. It takes one numeric operand. It returns the negated boolean value of its operand. Prefix operator ! is a shortcut for this function.

4.4.3. lor() #

Boolean logic OR. It takes two or more numeric operands that are treated as boolean logic values. The function is executed until the result is fully determined, i.e. it stops at the first true value. Operator || is a shortcut for this function.