The Boolean menu contains the following functions:
True returns true.
False returns false.
AND uses the following logic: If both arguments are true, then the function returns true. If either argument is false, then the function returns false.
OR uses the following logic: If either argument is true, then the function returns true. If both arguments are false, then the function returns false.
Not uses the following logic: If the argument is false, then the function returns true. If the argument is true, then the function returns false.
Lang returns true or false depending on whether the language of the context node is the same as or is a sublanguage of the language specified in the argument.
Boolean converts the argument to a boolean. For detailed information about the logic, see the XPath 1.0 specification.