<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSRelationshipDescription/isToMany",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:objc(cs)NSRelationshipDescription(py)toMany"
  },
  "title" : "isToMany"
}
-->

# isToMany

Returns a Boolean value that indicates whether the relationship can contain many managed objects.

```
var isToMany: Bool { get }
```

## Discussion

If [`maxCount`](/documentation/CoreData/NSRelationshipDescription/maxCount) is equal to `1`, implying a to-one relationship, this property returns <doc://com.apple.documentation/documentation/Swift/false>; otherwise, it returns <doc://com.apple.documentation/documentation/Swift/true>.

---

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)