NOT function

NOT function

Function Name Description Usage Input parameter Return value
NOT Returns the opposite value of a boolean. NOT() N/A A boolean.

Supported data type

The NOT function supports the following data type:

  • Boolean

Example: Find the opposite value of a boolean

Sample data: $var1$ = FALSE

Usage: $var1$.NOT()

Find the NOT value of var1.

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.