in src/components/Firestore/models.ts [116:128]
export function isSingleValueCollectionFilter(
cf: CollectionFilter
): cf is Extract<CollectionFilter, SingleValueCondition> {
return (
cf.operator === '==' ||
cf.operator === '!=' ||
cf.operator === '>' ||
cf.operator === '>=' ||
cf.operator === '<=' ||
cf.operator === '<' ||
cf.operator === 'array-contains'
);
}