Altova MapForce 2024 Enterprise Edition

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.

mf-func-logical-and

 

Languages

Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.

 

Parameters

Argument

Description

value1

Mandatory parameter. Provides the first value to compare.

value2

Mandatory parameter. Provides the second value to compare.

 

Example

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.

mf-func-logical-and-example

See also Example: Look-up and Concatenation.

© 2017-2023 Altova GmbH