isSkylight¶
The isSkylight method returns true
if the current report is (hosted in) a CALUMO Skylight and false
otherwise.
Syntax
isSkylight()
Arguments¶
This method has no arguments.
Return¶
This function returns a boolean value: true
or false
.
Examples¶
The following code shows a test for Skylight and potential action:
if (report.api.isSkylight()) {
// this report is (being hosted) in a skylight
// do an action
}