---
title: isInspectable
framework: javascriptcore
role: symbol
role_heading: Instance Property
path: javascriptcore/jscontext/isinspectable
---

# isInspectable

A Boolean value that indicates whether you can inspect the JavaScript context with Safari Web Inspector.

## Declaration

```swift
var isInspectable: Bool { get set }
```

## Discussion

Discussion Defaults to false. Set to true at any point in the context’s lifetime to allow Safari Web Inspector access to inspect the context. Then, select your context in Safari’s Develop menu for either your computer or an attached device to inspect it. If you set this value to false during inspection, the system immediately closes Safari Web Inspector and does not provide any further information about the context. For more information, see Enabling the Inspection of Web Content in Apps.

## Topics

### Related Documentation

- [name](javascriptcore/jscontext/name.md)
