<!--
{
  "availability" : [
    "Swift: 1.0.0 -",
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/true",
  "metadataVersion" : "0.1.0",
  "role" : "Keyword",
  "symbol" : {
    "kind" : "Keyword",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:kw@true"
  },
  "title" : "true"
}
-->

# true

A true value.

## Discussion

For information about true and false values, see [Booleans](https://docs.swift.org/swift-book/documentation/the-swift-programming-language/thebasics/#Booleans) in *[The Swift Programming Language](https://docs.swift.org/swift-book/)*.

---

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)