---
title: "matchType(_:)"
framework: lightweightcoderequirements
role: symbol
role_heading: Instance Method
path: "lightweightcoderequirements/entitlementsquery/matchtype(_:)"
---

# matchType(_:)

Matches the specified type against the current element.

## Declaration

```swift
func matchType(_ value: EntitlementsQuery.DataType) -> EntitlementsQuery
```
