Team LiB   Previous Section   Next Section
not

Syntax

set theTruth to not ("index.html" contains ".html") -- returns false

Return value

boolean; true or false

Description

not is a logical operator that reverses the boolean value of a variable or expression. If the variable or expression is true then the not return value is false, and vice versa. AppleScript does not have the (!) symbolic alternative for the not operator as Perl and other scripting languages do.

    Team LiB   Previous Section   Next Section