WebKit2.WebInspector.prototype.is_attached

function is_attached(): Boolean {
    // Gjs wrapper for webkit_web_inspector_is_attached()
}
  

Whether the inspector view is currently attached to the same window that contains the inspected view.

Returns

true if inspector is currently attached or false otherwise