boolean function

noun
UK /ˈbuːliən ˈfʌŋkʃən/
US /ˈbuliən ˈfʌŋkʃən/

A boolean function is a rule that takes true-or-false inputs and gives back a true-or-false answer.

The boolean function returns true only when both switches are on.


OTHER MEANINGS

2. In mathematics, a function whose arguments and result each take values in a two-element set, usually {0, 1}.

Every boolean function of two variables can be written as a truth table with four rows.

3. In computer science, a subroutine that evaluates a condition and returns either true or false.

The program calls a boolean function to check whether the user is logged in.

4. In digital circuit design, a mapping from input bit patterns to a single output bit, realized by logic gates.

The engineer simplified the boolean function before building the circuit.