---
title: "canRepresent(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsscreen/canrepresent(_:)"
---

# canRepresent(_:)

A Boolean value indicating whether the color space of the screen is capable of representing the specified display gamut.

## Declaration

```swift
func canRepresent(_ displayGamut: NSDisplayGamut) -> Bool
```

## See Also

### Getting Screen Information

- [depth](appkit/nsscreen/depth.md)
- [frame](appkit/nsscreen/frame.md)
- [supportedWindowDepths](appkit/nsscreen/supportedwindowdepths.md)
- [deviceDescription](appkit/nsscreen/devicedescription.md)
- [NSDeviceDescriptionKey](appkit/nsdevicedescriptionkey.md)
- [colorSpace](appkit/nsscreen/colorspace.md)
- [localizedName](appkit/nsscreen/localizedname.md)
- [NSDisplayGamut](appkit/nsdisplaygamut.md)
- [screensHaveSeparateSpaces](appkit/nsscreen/screenshaveseparatespaces.md)
