import { testService } from '@sap-cloud-sdk/test-services/v4/test-service' ; import { filterFunction , filterFunctions } from '@sap-cloud-sdk/odata-v4' ; const testEntitySchema = testService ( ) . testEntityApi . schema ; filterFunctions ( ) . substring ( testEntitySchema . STRING_PROPERTY , testEntitySchema . INT_16_PROPERTY ) . equals ( 'test' ) ; filterFunctions ( ) . contains ( testEntitySchema . STRING_PROPERTY , 'test' ) ; filterFunctions ( ) . hasSubset ( testEntitySchema . COLLECTION_PROPERTY , [ 1 ] ) ; filterFunctions ( ) . hasSubset ( [ '1' ] , [ 1 ] ) ; filterFunction ( 'fn' , 'boolean' ) ; filterFunction ( 'fn' , 'datetimeoffset' ) ; filterFunction ( 'fn' , 'int[]' ) ; filterFunction ( 'fn' , 'int[]' ) . equals ( [ 'test' ] ) ;