<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLUntypedColumn/isValid",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML15MLUntypedColumnV7isValidSbvp"
  },
  "title" : "isValid"
}
-->

# isValid

A Boolean value that indicates whether the column is valid.

```
var isValid: Bool { get }
```

## Discussion

Check [`isValid`](/documentation/CreateML/MLUntypedColumn/isValid) after you create or mutate an untyped
column to ensure it’s valid. If the value is
<doc://com.apple.documentation/documentation/Swift/false>, the untyped
column encountered an error and you can’t use it for subsequent
operations. For example, comparing two columns of different sizes
creates an invalid column.

---

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)