---
title: keyAEObject2
framework: coreservices
role: symbol
role_heading: Global Variable
path: coreservices/keyaeobject2
---

# keyAEObject2

## Declaration

```swift
var keyAEObject2: Int { get }
```

## Discussion

Discussion Identifies a descriptor for the element that is currently being compared to the object or data specified by the descriptor for the keyword keyAEObject1. The keyword keyAEObject2 can also be used with a descriptor of any other descriptor type whose data is to be compared to each element in a container.
