<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "EndpointSecurity",
  "identifier" : "/documentation/EndpointSecurity/es_event_rename_t/destination_type",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Endpoint Security"
    ],
    "preciseIdentifier" : "c:@SA@es_event_rename_t@FI@destination_type"
  },
  "title" : "destination_type"
}
-->

# destination_type

A property that indicates whether the destination is a new path or an existing file.

```
var destination_type: es_destination_type_t
```

## Discussion

Use this property to determine how to access the [`destination`](/documentation/EndpointSecurity/es_event_rename_t/destination) field.

---

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)