not

Negates a logical value.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

not value

# Params

- value : True or false, or an expression that evaluate to true or false.

# Examples

not true -- evaluates to false

set the visible of me to not the visible of me

# Description

Use the not operator to reverse the meaning of a logical expression.

If the value is true, not value is false, and if the value is false, not value is true.

You can combine the logical operators and, or, and not in an expression.

# Tags

# See

- **constant:** false - **operator:** or, and, bitNot - **function:** value - **glossary:** operator, expression, logical