---
title: eraseToAnyColumn()
framework: tabulardata
role: symbol
role_heading: Instance Method
path: tabulardata/discontiguouscolumnslice/erasetoanycolumn()
---

# eraseToAnyColumn()

Generates a type-erased copy of the column slice.

## Declaration

```swift
func eraseToAnyColumn() -> AnyColumnSlice
```
