import type { EntityBase } from '../entity-base' ; import type { Filterable } from './filterable' ; type UnaryFilterOperator = 'not' ; internal export class UnaryFilter < EntityT extends EntityBase > { constructor ( public singleOperand , public operator ) { } } param filterable returns internal export function isUnaryFilter < T extends EntityBase > ( filterable ) { return ( typeof filterable [ 'singleOperand' ] !== 'undefined' && typeof filterable [ 'operator' ] !== 'undefined' ) ; }