GetLayerEnabled

Returns true if the given layer is enabled (visible).

Function

boolean GetLayerEnabled(layerName)

Parameters

  • layerName (string): The name of the layer to lookup.

Return Value

Returns a boolean. True if the layer is visible, false otherwise.