Synchronously tests a record against a filter; text comparisons ignore case.
Parameters: item = record to test, f = TxFilter. Returns boolean without modifying the record. Getter errors propagate.
function txMatches<T>(item: T, f: TxFilter<T>): booleanimport { txMatches } from '@tekocloud.de/tecexpress'
console.log(txMatches({ age: 20 }, { selector: 'age', operator: '>=', value: 18 })) // true