dbgate-tools
Version:
Auxiliary tools for other DbGate packages.
7 lines (6 loc) • 344 B
TypeScript
export declare function filterName(filter: string, ...names: string[]): boolean;
export declare function filterNameCompoud(filter: string, namesMain: string[], namesChild: string[]): 'main' | 'child' | 'both' | 'none';
export declare function tokenizeBySearchFilter(text: string, filter: string): {
text: string;
isMatch: boolean;
}[];