(path: string, message: string)
| 368 | } |
| 369 | |
| 370 | function paramsError(path: string, message: string): RuntimeValidationResult<never> { |
| 371 | return validationError(path, message, "invalid_params") |
| 372 | } |
| 373 | |
| 374 | function isRecord(value: unknown): value is Record<string, unknown> { |
| 375 | return typeof value === "object" && value !== null && !Array.isArray(value) |
no test coverage detected