EaxAnalyzer.getIsNewReport

Syntax

getIsNewReport();

Description

The getIsNewReport method determines whether this express report has been previously saved.

Comments

The method returns True if the express report is new and has not been saved yet, and False if otherwise.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Determine if the available express report is a new one:

var eaxAnalyzer = expressBox.getSource();
if (eaxAnalyzer.getIsNewReport()) {
    console.log("This express report is a new one.");
} else {
    console.log("This express report is not a new one.");
};

After executing the example the browser console displays a message that the express report is new if it is newly created and has not yet been saved. If the report has been previously saved, the message informs that the express report is not new.

See also:

EaxAnalyzer