A boolean function of variables is a function from to , where is the boolean domain. Compare a boolean-valued function, where may be replaced by any set .
The logical operations in classical logic may all be interpreted as boolean functions, given by their truth tables.