(value: string)
| 512 | .trim(); |
| 513 | |
| 514 | const tokenizeSearchText = (value: string): string[] => |
| 515 | normalizeSearchText(value) |
| 516 | .split(/[^a-z0-9]+/) |
| 517 | .map((token) => token.trim()) |
| 518 | .filter(Boolean); |
| 519 | |
| 520 | const prepareField = (value?: string): PreparedField => ({ |
| 521 | raw: normalizeSearchText(value ?? ""), |
no test coverage detected