<!--
{
  "availability" : [
    "iOS: 16.4.0 -",
    "iPadOS: 16.4.0 -",
    "macCatalyst: 16.4.0 -",
    "macOS: 13.3.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "JavaScriptCore",
  "identifier" : "/documentation/JavaScriptCore/JSGlobalContextIsInspectable(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "JavaScriptCore"
    ],
    "preciseIdentifier" : "c:@F@JSGlobalContextIsInspectable"
  },
  "title" : "JSGlobalContextIsInspectable(_:)"
}
-->

# JSGlobalContextIsInspectable(_:)

Returns a Boolean value that indicates whether the JavaScript context is inspectable.

```
func JSGlobalContextIsInspectable(_ ctx: JSGlobalContextRef!) -> Bool
```

## Parameters

`ctx`

The [`JSGlobalContextRef`](/documentation/JavaScriptCore/JSGlobalContextRef) to check whether it’s inspectable.

## Return Value

A Boolean value that indicates whether the JavaScript context is inspectable.

## Topics

### Related Documentation

[`JSGlobalContextCopyName(_:)`](/documentation/JavaScriptCore/JSGlobalContextCopyName(_:))

Gets a copy of the name of a context.

[`JSGlobalContextSetName(_:_:)`](/documentation/JavaScriptCore/JSGlobalContextSetName(_:_:))

Sets the remote debugging name for a context.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)