Community Documentation

Logical Operators

Last updated October 8, 2012. Created by mitchell on September 27, 2012.
Log in to edit this page.

A logical operator, also called a logical connective or a truth function, is a symbol or word used to connect two or more sentences, such that the sense of the compound sentence produced depends only on the original sentences.

The most common logical connectives are binary connectives which join two sentences which can be thought of as the function's operands. Also commonly, negation is considered to be a unary connective.

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here