# Gimp.Image.prototype.get_component_visible

    function get_component_visible(component: Gimp.ChannelType): Boolean {
        // Gjs wrapper for gimp_image_get_component_visible()
    }

Returns if the specified image's image component is visible.

This procedure returns if the specified image's image component (i.e. Red, Green, Blue intensity channels in an RGB image) is visible or invisible -- whether or not it can be seen. If the specified component is not valid for the image type, an error is returned.

component

  The image component.

Returns

  Component is visible.