---
title: "JSGlobalContextIsInspectable(_:)"
framework: javascriptcore
role: symbol
role_heading: Function
path: "javascriptcore/jsglobalcontextisinspectable(_:)"
---

# JSGlobalContextIsInspectable(_:)

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

## Declaration

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

## Parameters

- `ctx`: The doc://com.apple.javascriptcore/documentation/JavaScriptCore/JSGlobalContextRef to check whether it’s inspectable.

## Return Value

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

## Topics

### Related Documentation

- [JSGlobalContextCopyName(_:)](javascriptcore/jsglobalcontextcopyname(_:).md)
- [JSGlobalContextSetName(_:_:)](javascriptcore/jsglobalcontextsetname(_:_:).md)

## See Also

### Making a context inspectable

- [JSGlobalContextSetInspectable(_:_:)](javascriptcore/jsglobalcontextsetinspectable(_:_:).md)
