Is there a name for a function that returns only binary values?

53 Views Asked by At

Is there a name for a function that returns only binary values (e.g., $f(x) : X \rightarrow \{0,1\}$)?