---
title: upperBound
framework: declaredagerange
role: symbol
role_heading: Instance Property
path: declaredagerange/agerangeservice/agerange/upperbound
---

# upperBound

The maximum age in the person’s declared age range.

## Declaration

```swift
var upperBound: Int?
```

## Discussion

Discussion When this value is nil, there’s no upper bound to the person’s age range, indicating they meet or exceed your highest ageGate. When present, this value represents the highest ageGate the person is confirmed to be under. Use with lowerBound to provide age range boundaries for content decision making.

## See Also

### Fetching the age range

- [lowerBound](declaredagerange/agerangeservice/agerange/lowerbound.md)
- [ageRangeDeclaration](declaredagerange/agerangeservice/agerange/agerangedeclaration.md)
- [activeParentalControls](declaredagerange/agerangeservice/agerange/activeparentalcontrols.md)
