<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 -",
    "macOS: 10.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGDisplayIsBuiltin(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@F@CGDisplayIsBuiltin"
  },
  "title" : "CGDisplayIsBuiltin(_:)"
}
-->

# CGDisplayIsBuiltin(_:)

Returns a Boolean value indicating whether a display is built-in, such as the internal display in portable systems.

```
func CGDisplayIsBuiltin(_ display: CGDirectDisplayID) -> boolean_t
```

## Parameters

`display`

The identifier of the display to be accessed.

## Return Value

If `true`, the specified display is considered to be a built-in display; otherwise, `false`.

## Discussion

Portable systems typically identify the internal LCD panel as a built-in display.

Note that it is possible and reasonable for a system to have no displays marked as built-in. For example, a portable system running with the lid closed may report no built-in displays.

---

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)