Used in an expression in some languages, this operator yields a boolean result, i.e., true or false. In others (like C) it returns an integer. Check the documentation of the language you are using to find out how it handles true/false values. A mathematical example: