Skip to main content

not

Type​

operator

Summary​

Negates a logical value.

Syntax​

not <value>

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.

Parameters​

NameTypeDescription

value

bool

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

constant: false

function: value

glossary: operator, expression, logical

operator: or, and, bitNot

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?