Logical operations

Syntax

expression1 || expression2
or
expression1 && expression2
or
! expression

where:

Description

These logical operators are the same as in usual languages:

The operators will work with boolean values only.

Examples

class.isAbstract() && !myBooleanValue