---
title: AnyEntityQueryComparator
framework: appintents
role: symbol
role_heading: Structure
path: appintents/anyentityquerycomparator
---

# AnyEntityQueryComparator

A type that erases the type information of the underlying query comparator.

## Declaration

```swift
struct AnyEntityQueryComparator<Entity, Subject, Property, PropertyType, ComparatorMappingType> where Property : EntityProperty<PropertyType>, PropertyType : _IntentValue, PropertyType : Sendable
```

## See Also

### Building query comparators

- [buildBlock(_:)](appintents/entityquerycomparatorsbuilder/buildblock(_:).md)
- [buildExpression(_:)](appintents/entityquerycomparatorsbuilder/buildexpression(_:)-4g6f9.md)
- [buildExpression(_:)](appintents/entityquerycomparatorsbuilder/buildexpression(_:)-5tlbq.md)
- [buildExpression(_:)](appintents/entityquerycomparatorsbuilder/buildexpression(_:)-6v6cj.md)
- [buildExpression(_:)](appintents/entityquerycomparatorsbuilder/buildexpression(_:)-8jx4k.md)
- [EntityQueryComparator](appintents/entityquerycomparator.md)
