Skip to content

isSkylight

Whether the current report is (hosted in) a CALUMO Skylight

Syntax

isSkylight ()

Arguments

Return

This function returns 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
}