Basic boolean function

Let $\mathbb{B} = \{ 0, 1 \}$ be the D217: Set of basic Boolean numbers.
A D18: Map $f : X \to Y$ is a basic boolean function if and only if $$Y \subseteq \mathbb{B}$$

A D18: Map $f : X \to Y$ is a basic boolean function if and only if $$Y \subseteq \{ 0, 1 \}$$
Child definitions