(value: string)
| 483 | .trim(); |
| 484 | |
| 485 | const tokenizeSearchText = (value: string): string[] => |
| 486 | normalizeSearchText(value) |
| 487 | .split(/[^a-z0-9]+/) |
| 488 | .map((token) => token.trim()) |
| 489 | .filter(Boolean); |
| 490 | |
| 491 | const prepareField = (value?: string): PreparedField => ({ |
| 492 | raw: normalizeSearchText(value ?? ""), |
no test coverage detected