---
title: CFAllocatorGetTypeID()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cfallocatorgettypeid()
---

# CFAllocatorGetTypeID()

Returns the type identifier for the CFAllocator opaque type.

## Declaration

```swift
func CFAllocatorGetTypeID() -> CFTypeID
```

## Return Value

Return Value The type identifier for the CFAllocator opaque type.
