---
title: "age(atLeast:)"
framework: passkit
role: symbol
role_heading: Type Method
path: "passkit/pkidentityelement/age(atleast:)"
---

# age(atLeast:)

Returns an element that represents the user’s age is at least the age you specify.

## Declaration

```swift
class func age(atLeast age: Int) -> Self
```

## Parameters

- `age`: The age a user must at least be, in years from 1 to 125.

## Mentioned in

Requesting identity data from a Wallet pass

## Return Value

Return Value An instance with the age you specify if the user’s age is at least the age you specify. If the element is unavailable, this method falls back to a request for age.

## See Also

### Getting an age identity element

- [age](passkit/pkidentityelement/age.md)
