---
title: isToMany
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nsrelationshipdescription/istomany
---

# isToMany

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

## Declaration

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

## Discussion

Discussion If maxCount is equal to 1, implying a to-one relationship, this property returns false; otherwise, it returns true.

## See Also

### Configuring Cardinality

- [minCount](coredata/nsrelationshipdescription/mincount.md)
- [maxCount](coredata/nsrelationshipdescription/maxcount.md)
