Determining if the License is loaded successfully

Determining if the License is loaded successfully

The following code accesses the Workbook.isLicensed() method before setting a license and it returns false. Then it loads the license and accesses the property again which now returns true.

Console Output

Here is the console output of the above sample code

false

true