---
title: "subscript(_:)"
framework: tabulardata
role: symbol
role_heading: Instance Subscript
path: "tabulardata/anycolumn/subscript(_:)-3658g"
---

# subscript(_:)

Returns a slice of the column by selecting elements with a collection of Booleans.

## Declaration

```swift
subscript<C>(mask: C) -> AnyColumnSlice where C : Collection, C.Element == Bool { get }
```

## Parameters

- `mask`: A collection of Booleans. The method selects the column’s elements that correspond to the true elements in the collection.
