@linzjs/step-ag-grid
Version:
[](https://github.com/semantic-release/semantic-release) > Reusable [ag-grid](https://www.ag-grid.com/) component for LINZ / Toitū te whenua.
14 lines (13 loc) • 351 B
TypeScript
/**
* Text matching with wildcards and multiple matchers.
*
* "L" => L*
* "=L" => L
* "*L*" => *L*
* "*L" => *L
* "A B" => A* and B*
* "A B, C" => (A* and B*) or C*
* "!A" => all values must not match A
* Returns true if there's a text match.
*/
export declare const textMatch: (text: string | undefined | null, filter: string) => boolean;