Returns Boolean true only if each input value is true; false otherwise. You can connect the result to another logical-and function and thus join an arbitrary number of conditions with logical AND, in order to test that they all return true. Also, this function can be extended to take additional arguments, see Add or Delete Function Arguments.
Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.
Argument |
Description |
---|---|
value1 |
Mandatory parameter. Provides the first value to compare. |
value2 |
Mandatory parameter. Provides the second value to compare. |
The mapping illustrated below returns true because all input values to the logical-and function are true as well. If any of the input values were false, then the mapping's result would be false as well.
See also Example: Look-up and Concatenation.