AND function

AND function

Function Name Description Usage Input parameter Return value
AND Performs the logical AND operation on the specified boolean values. AND(value) A boolean value. A boolean.

Supported data type

The AND function supports the following data types:

  • Boolean

Example: Find the AND value of a boolean expression

Sample data: $var1$ = TRUE

Usage: $var1$.AND(TRUE)

Find the AND value of the boolean expression.

Output: TRUE

Recommendation

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月09日 UTC.