import { EntityBase } from '../entity-base' ; import { FilterFunction , FilterFunctionParameterType } from './filter-function-base' ; import { Filterable } from './filterable' ; internal export class BooleanFilterFunction < EntityT extends EntityBase > extends FilterFunction < EntityT , boolean > { param functionName param parameters constructor ( functionName , parameters ) { super ( functionName , parameters , 'Edm.Boolean' ) ; } } param filterable returns internal export function isBooleanFilterFunction < EntityT extends EntityBase > ( filterable ) { return ( typeof filterable [ 'functionName' ] !== 'undefined' && typeof filterable [ 'parameters' ] !== 'undefined' && filterable [ 'edmType' ] === 'Edm.Boolean' ) ; }