import { BooleanFilter } from './boolean-filter.model' ; import { Filter } from './filter.model' ; /**
 * A type of filter used in  SimpleFacet and extends from  Filter .
 * It can be selected or not.
 *
 *  public export interface SimpleFilter extends BooleanFilter { /** Model name to indicate the filter type. */ modelName : 'SimpleFilter' ; } /**
 * Type guard to check if a filter is a  SimpleFilter .
 *
 *  param filter returns True if the filter is a  SimpleFilter , false otherwise.
 *
 *  public export function isSimpleFilter ( filter ) { return filter . modelName === 'SimpleFilter' ; }