Skip to main content
Skip table of contents

exists() Operation

Syntax

aVariable.exists()

Semantics

 Returns true if aVariable is not null, otherwise false. See NULL Values to read more about null values.

Substitutables

 aVariable

Can be a variable or an attribute of an object. 

Examples

NONE
set b1 = x.exists();
set b2 = myObject.myAttr.exists();

Assigns the boolean return value of operation exists() to variable b2. Returns true if the attribute myAttr of object myObject is not null.

Related Pages:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.