# `GSDocument.allLayers`

*Instance Property*

`nil` when the document has no window controller, as is the case in a framework-only host.

## Declaration

```swift
unowned(unsafe) var allLayers: NSArray? { get }
```

```objc
@property (nonatomic, unsafe_unretained, readonly) NSArray * allLayers;
```

```python
allLayers() -> list
```

