<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Locale/LanguageCode-swift.struct/isISOLanguage",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation6LocaleV12LanguageCodeV13isISOLanguageSbvp"
  },
  "title" : "isISOLanguage"
}
-->

# isISOLanguage

A Boolean value that indicates whether this language code is in the list of ISO-defined languages.

```
var isISOLanguage: Bool { get }
```

## Discussion

The following code snippet illustrates use of the [`isISOLanguage`](/documentation/Foundation/Locale/LanguageCode-swift.struct/isISOLanguage) value.

```swift
let enIsISO = Locale.LanguageCode("en").isISOLanguage // true
let gibberishIsISO = Locale.LanguageCode("gibberish").isISOLanguage // false
```

---

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)