Definition:Boolean Function

Definition
A (finitary) boolean function is a function of the form $$f : \mathbb{B}^k \to \mathbb{B}$$, where:
 * $$\mathbb{B} = \left\{{0, 1}\right\}$$ is a boolean domain;
 * $$k\!$$ is a nonnegative integer.

In the case where $$k = 0\!$$, then $$f$$ is the constant function, and its value is simply a constant element of $$\mathbb{B}$$.

From Count of Boolean Functions, there are $$2^{2^k}$$ boolean functions on $$k\!$$ variables.

Linguistic Note
The word boolean has entered the field of computer science as a noun meaning "a variable which can take one of two values".

Note that the modern rendition spells it without a capital B, while older texts will use Boolean.