---
title: destination_type
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_event_rename_t/destination_type
---

# destination_type

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

## Declaration

```swift
var destination_type: es_destination_type_t
```

## Discussion

Discussion Use this property to determine how to access the destination field.

## See Also

### Inspecting Event Properties

- [source](endpointsecurity/es_event_rename_t/source.md)
- [destination](endpointsecurity/es_event_rename_t/destination.md)
- [es_destination_type_t](endpointsecurity/es_destination_type_t.md)
- [reserved](endpointsecurity/es_event_rename_t/reserved.md)
