XPath/XQuery boolean-equal function

Summary

Returns true if the two arguments are the same boolean value.

Operator Mapping

Defines the semantics of the "eq" operator when applied to two xs:boolean values.

Signature

op:boolean-equal(
$value1 as xs:boolean,
$value2 as xs:boolean
) as xs:boolean

Rules

The function returns true if both arguments are true or if both arguments are false. It returns false if one of the arguments is true and the other argument is false.